ps-upgrade now upgrades /msys2/ps folder

This commit is contained in:
Gator96100 2020-09-27 00:04:45 +02:00
commit 021ef0ec63
2 changed files with 21 additions and 2 deletions

View file

@ -4,6 +4,11 @@ export PS1='\[\033]0;ProxSpace v$PSVERSION - $MSYSTEM:\w\007\033[32m\]pm3 \[\033
export PATH=/gcc-arm-none-eabi/bin:/ps/bin:$PATH
alias ls='ls -hF --color=auto'
if [ -f /ps/bin/ps/ps-upgrade.new ]; then
rm /ps/bin/ps/ps-upgrade
mv /ps/bin/ps/ps-upgrade.new /ps/bin/ps/ps-upgrade
fi
if [ \( ! -f /ps/installed64.txt -a "$MSYSTEM" == "MINGW64" \) ]; then
if [ "$MAYBE_FIRST_START" = "true" ]; then
yes | pacman -Syuu
@ -15,4 +20,4 @@ if [ \( ! -f /ps/installed64.txt -a "$MSYSTEM" == "MINGW64" \) ]; then
yes | pacman -Su
ps-setup
fi
fi
fi