From 9ed3e4d1c4f49da57302d9d7dc027fa307aea3e7 Mon Sep 17 00:00:00 2001 From: pvincent Date: Thu, 5 Aug 2021 16:15:53 +0400 Subject: [PATCH] rsync required --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index e322fcb..8122a01 100755 --- a/install.sh +++ b/install.sh @@ -19,6 +19,10 @@ function install_host { /usr/bin/dpkg-query --status jq >/dev/null 2>&1 [ $? -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 # download and filfull /opt/debian-bash, then run it from folder