Fixed ps-upgrade with commit hash

This commit is contained in:
Gator96100 2020-09-27 00:34:08 +02:00
commit 57479d52ba

View file

@ -2,6 +2,7 @@ rm /ps/installed64.txt &> /dev/null
git clone https://github.com/Gator96100/ProxSpace.git /ps-upgrade
mv /ps-upgrade/msys2/ps/bin/ps-upgrade /ps-upgrade/msys2/ps/bin/ps-upgrade.new
if [ "$#" -ne 0 ]; then
cd /ps-upgrade
git checkout $@
fi
shopt -s extglob