Browse Source

rsync required

master
pvincent 3 years ago
parent
commit
9ed3e4d1c4
  1. 4
      install.sh

4
install.sh

@ -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

Loading…
Cancel
Save