From fc3989c2408556b9b0086664468405aed5104004 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 11 Mar 2021 21:49:12 -0500 Subject: [PATCH] FIX update cache before pulling pkgs --- run_once_install-packages.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/run_once_install-packages.sh b/run_once_install-packages.sh index be2a5dd..54c8477 100644 --- a/run_once_install-packages.sh +++ b/run_once_install-packages.sh @@ -8,7 +8,7 @@ PKGBUILD_dir="$HOME/.local/share/packages" call_makepkg() { cd "$PKGBUILD_dir/$1" || exit - makepkg -s -r -i --noconfirm + makepkg -s -r -i -f --noconfirm } ## install packages (those that are either in official repos or AUR) @@ -35,10 +35,11 @@ zsh_pkgs=(zsh zsh-completions zsh-syntax-highlighting) ## AUR pkgs needed for spotify spotify_pkgs=(gconf) -yay --noconfirm -S "${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[@]}" +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[@]}" ## install custom packages (eg those for which I have my own PKGBUILDs)