Sudo so we get permissions early

This commit is contained in:
David Heinemeier Hansson
2025-06-25 14:44:30 -07:00
parent 15ff5d19f8
commit 3982da4727

View File

@ -8,7 +8,7 @@ ascii_art=' ▄██████▄ ▄▄▄▄███▄▄▄▄
▀██████▀ ▀█ ███ █▀ ███ █▀ ███ ███ ████████▀ ███ █▀ ▀█████▀ ▀██████▀ ▀█ ███ █▀ ███ █▀ ███ ███ ████████▀ ███ █▀ ▀█████▀
███ ███ ' ███ ███ '
echo -e "\n$ascii_art\n" sudo echo -e "\n$ascii_art\n"
pacman -Q git &>/dev/null || sudo pacman -Sy --noconfirm --needed git pacman -Q git &>/dev/null || sudo pacman -Sy --noconfirm --needed git