run pacman command with no-confirm

This commit is contained in:
Erica Marigold 2024-04-07 16:20:59 +05:30 committed by GitHub
parent 44b11f7894
commit f910f51ad0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ for dep in ${deps[@]}
do do
if ! which $dep 2>/dev/null; then if ! which $dep 2>/dev/null; then
echo "[!] Dependency $dep not found!" echo "[!] Dependency $dep not found!"
sudo pacman -Syy "$dep" sudo pacman -Syy --no-confirm "$dep"
else else
echo -e "\e[1A\e[K[*] FOUND: $dep" echo -e "\e[1A\e[K[*] FOUND: $dep"
fi fi