Fixed updater issue with bash 4

This commit is contained in:
JeremyStarTM 2022-08-14 13:40:46 +02:00
parent b1e9e6d598
commit 81fdc37095

View file

@ -580,7 +580,7 @@ elif [ "$1" == "remoteauth" ]; then
noRepoFound "$3"
fi
elif [ "$1" == "selfupdate" ]; then
echo -e "echo \"Updating sos-git to \"$0\";$SOSGIT_CURL -sSLqq \"$SOSGIT_UPDATEURL\" &> $0;kill -9 $$" &> $SOSGIT_TMP/sos-git-updater.sh
echo -e "echo \"Updating sos-git to \\"$0\\"";$SOSGIT_CURL -sSLqq \"$SOSGIT_UPDATEURL\" &> $0;kill -9 $$" &> $SOSGIT_TMP/sos-git-updater.sh
chmod +x $SOSGIT_TMP/sos-git-updater.sh
$SOSGIT_TMP/sos-git-updater.sh
elif [ "$1" == "list" ]; then