Finally done

This commit is contained in:
Gator96100 2021-04-11 00:47:06 +02:00
commit 97f189d91a
3 changed files with 2 additions and 2 deletions

1
.gitattributes vendored
View file

@ -1 +0,0 @@
* binary

View file

@ -17,7 +17,6 @@ if [ \( ! -f /setup/installed64.txt -a "$MSYSTEM" == "MINGW64" \) ]; then
sh /usr/bin/update-ca-trust sh /usr/bin/update-ca-trust
fi fi
rm /var/lib/pacman/sync/* rm /var/lib/pacman/sync/*
sed -i 's/#XferCommand = \/usr\/bin\/wget --passive-ftp -c -O %o %u/XferCommand = \/usr\/bin\/wget --passive-ftp --tries=3 --timeout=5 -c -O %o %u/g' /etc/pacman.conf
yes | pacman -Syuu yes | pacman -Syuu
else else
if [ -z "$PSSKIPRANKING" ]; then if [ -z "$PSSKIPRANKING" ]; then

View file

@ -9,6 +9,8 @@ check_install () {
setup_proxspace () setup_proxspace ()
{ {
if [ "$MSYSTEM" == "MINGW64" ]; then if [ "$MSYSTEM" == "MINGW64" ]; then
sed -i 's/#XferCommand = \/usr\/bin\/wget --passive-ftp -c -O %o %u/XferCommand = \/usr\/bin\/wget --passive-ftp --tries=3 --timeout=5 -c -O %o %u/g' /etc/pacman.conf
for pkg in $(grep "^[^#;]" /setup/packages.txt); do for pkg in $(grep "^[^#;]" /setup/packages.txt); do
check_install $pkg check_install $pkg
done done