Fix headless pacman flag + scanner self-match
swadhinbiswas committed 2 months ago
c136460
1 parent 9f393b2
commit c136460
1 file changed
+1 -1
Showing 1 changed file+1-1
▼install.sh
+1-1
| @@ -95,7 +95,7 @@ log "Backup ready: $LATEST_BACKUP" | ||
95 | 95 | install_pkg() { |
96 | 96 | local pkg=$1 |
97 | 97 | if pacman -Qi "$pkg" >/dev/null 2>&1; then return 0; fi |
98 | - if sudo pacman -S --needed --confirm-type nothing "$pkg" >/dev/null 2>&1; then | |
98 | + if sudo pacman -S --needed --noconfirm "$pkg" >/dev/null 2>&1; then | |
99 | 99 | return 0 |
100 | 100 | fi |
101 | 101 | if [[ -n $AUR_HELPER ]]; then |
102 | 102 | |