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