mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-24 04:14:58 +00:00
14 lines
380 B
Bash
Executable File
14 lines
380 B
Bash
Executable File
echo -n Please type your sudo password:
|
|
read -s sudoPass
|
|
echo;
|
|
echo "$sudoPass" | sudo -S pacman-mirrors -g
|
|
echo
|
|
echo Updating with Pacman...
|
|
echo
|
|
echo "$sudoPass" | sudo -S pacman -Syu --color always
|
|
echo;
|
|
aurman -Su --noedit --noconfirm --color always
|
|
echo;
|
|
echo "$sudoPass" | yes | (sudo -S pacman -Rns $(pacman -Qtdq) --color always)
|
|
notify-send "Update script has finished!"
|