mirror of
https://github.com/EvernodeXRPL/hp-devkit.git
synced 2026-04-29 15:37:58 +00:00
15 lines
324 B
Bash
Executable File
15 lines
324 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Install unzip, jq if not installed, because it's required for the upgrader.
|
|
|
|
if ! command -v unzip &>/dev/null; then
|
|
echo "Installing unzip"
|
|
apt-get update
|
|
apt-get install -y unzip
|
|
fi
|
|
|
|
if ! command -v jq &>/dev/null; then
|
|
echo "Installing unzip"
|
|
apt-get update
|
|
apt-get install -y jq
|
|
fi |