ProxSpace/msys2/ps/09-proxspace_setup.post
2020-12-29 21:22:01 +01:00

23 lines
No EOL
566 B
Text

export PSVERSION="3.7.2"
export LANG=en_US.UTF-8
export PS1='\[\033]0;ProxSpace v$PSVERSION - $MSYSTEM:\w\007\033[32m\]pm3 \[\033[33m\]\w\[\033[0m\]$ '
export PATH=/ps/bin:$PATH
alias ls='ls -hF --color=auto'
if [ -f /ps/bin/ps-upgrade.new ]; then
rm /ps/bin/ps-upgrade
mv /ps/bin/ps-upgrade.new /ps/bin/ps-upgrade
fi
if [ \( ! -f /ps/installed64.txt -a "$MSYSTEM" == "MINGW64" \) ]; then
if [ "$MAYBE_FIRST_START" = "true" ]; then
yes | pacman -Syuu
else
if [ -z "$PSSKIPRANKING" ]; then
ps-rankmirrors
fi
yes | pacman -Su
ps-setup
fi
fi