manage: fix 'the git pull command says' message

pull/899/head
Botspot 4 years ago
parent f092ef1a4a
commit 1f1629d404

@ -344,7 +344,7 @@ elif [ "$1" == 'check-all' ];then
#if the updater script exists in update folder, then just git pull to save time #if the updater script exists in update folder, then just git pull to save time
if [ -f "${DIRECTORY}/update/pi-apps/updater" ];then if [ -f "${DIRECTORY}/update/pi-apps/updater" ];then
cd "${DIRECTORY}/update/pi-apps" cd "${DIRECTORY}/update/pi-apps"
echo -n "The 'git pull' command says: " echo -n "The 'git pull' command says: " 1>&2
git pull 1>&2 || rm -rf "${DIRECTORY}/update" git pull 1>&2 || rm -rf "${DIRECTORY}/update"
fi fi
#re-check and if updater script does not exist then do a git clone #re-check and if updater script does not exist then do a git clone

Loading…
Cancel
Save