|
@ -19,6 +19,10 @@ function install_host { |
|
|
/usr/bin/dpkg-query --status jq >/dev/null 2>&1 |
|
|
/usr/bin/dpkg-query --status jq >/dev/null 2>&1 |
|
|
[ $? -ne 0 ] && /usr/bin/apt install -y jq |
|
|
[ $? -ne 0 ] && /usr/bin/apt install -y jq |
|
|
|
|
|
|
|
|
|
|
|
# required packages rsync |
|
|
|
|
|
/usr/bin/dpkg-query --status rsync >/dev/null 2>&1 |
|
|
|
|
|
[ $? -ne 0 ] && /usr/bin/apt install -y rsync |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ ! $BASEDIR == '/opt/debian-bash' ]]; then |
|
|
if [[ ! $BASEDIR == '/opt/debian-bash' ]]; then |
|
|
# download and filfull /opt/debian-bash, then run it from folder |
|
|
# download and filfull /opt/debian-bash, then run it from folder |
|
|