ENH add sudoloop

This commit is contained in:
Nathan Dwarshuis 2021-03-11 22:19:44 -05:00
parent fc3989c240
commit 99f427fb08
1 changed files with 7 additions and 5 deletions

View File

@ -35,11 +35,13 @@ zsh_pkgs=(zsh zsh-completions zsh-syntax-highlighting)
## AUR pkgs needed for spotify
spotify_pkgs=(gconf)
yay --noconfirm -Syy "${dunst_pkgs[@]}" "${emacs_pkgs[@]}" \
"${flameshot_pkgs[@]}" "${gtk_pkgs[@]}" "${nvidia_pkgs[@]}" \
"${nvidia_pkgs[@]}" "${r_pkgs[@]}" "${redshift_pkgs[@]}" "${rofi_pkgs[@]}" \
"${seafile_pkgs[@]}" "${urxvt_pkgs[@]}" "${xmonad_pkgs[@]}" \
"${zsh_pkgs[@]}" "${spotify_pkgs[@]}"
sudo -v
yay --noconfirm --removemake -Syy --sudoloop "${dunst_pkgs[@]}" \
"${emacs_pkgs[@]}" "${flameshot_pkgs[@]}" "${gtk_pkgs[@]}" \
"${nvidia_pkgs[@]}" "${nvidia_pkgs[@]}" "${r_pkgs[@]}" \
"${redshift_pkgs[@]}" "${rofi_pkgs[@]}" "${seafile_pkgs[@]}" \
"${urxvt_pkgs[@]}" "${xmonad_pkgs[@]}" "${zsh_pkgs[@]}" "${spotify_pkgs[@]}"
## install custom packages (eg those for which I have my own PKGBUILDs)