added sudo

This commit is contained in:
Jonas_Jones 2024-10-23 23:26:33 +02:00
parent a7b4fc77d9
commit 2f32d462f2

View file

@ -10,6 +10,9 @@ if [[ "$1" == "--help" || "$2" == "--help" ]]; then
exit 0
fi
# Keep the sudo session alive
while true; do sudo -v; sleep 60; done &
# run the commands
install_chaoticaur
install_yay_aur