diff --git a/rp-os-ae.sh b/rp-os-ae.sh index d492002..e923144 100644 --- a/rp-os-ae.sh +++ b/rp-os-ae.sh @@ -12,12 +12,16 @@ yellow=$(tput setaf 3) # ${yellow} # Deleting password for the script echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-t + echo "Defaults timestamp_timeout=-1" | sudo tee -a /etc/sudoers + +# Making Makepkg a bit faster + sudo sed -i 's/OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto !autodeps)/OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto !autodeps)/' /etc/makepkg.conf # Installing reflector for updating mirrors - #sudo pacman -S reflector rsync --noconfirm - #sudo reflector -c "Hungary,Austria,Germany,Czech" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist + sudo pacman -S reflector rsync --noconfirm + reflector --verbose -c AT -c DE -c HU --protocol https --sort rate --latest 10 --download-timeout 5 --save /etc/pacman.d/mirrorlist #sudo pacman -Sy # Installing packages @@ -136,6 +140,7 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER # Cleanup sudo rm /etc/sudoers.d/99-$USER + sed -i '140d' /etc/sudoers sudo rm -rf /home/$USER/cosmetics # End of script