ProxSpace/setup/bin/ps-upgrade
2021-04-09 16:58:53 +02:00

17 lines
449 B
Plaintext

rm /ps/installed64.txt &> /dev/null
git clone https://github.com/Gator96100/ProxSpace.git /ps-upgrade
mv /ps-upgrade/msys2/setup/bin/ps-upgrade /ps-upgrade/msys2/setup/bin/ps-upgrade.new
if [ "$#" -ne 0 ]; then
cd /ps-upgrade
git checkout $@
fi
shopt -s extglob
cd /setup
rm -rf -- !(bin)
cd /setup/bin
rm -rf -- !(ps-upgrade)
cp -R /ps-upgrade/msys2/setup /
rm -rf /ps-upgrade
yes | pacman -Syuu
echo "Please restart ProxSpace"
sleep infinity