Browse Source

fix(archlinux): keyring update function (#11607)

deimosian 1 year ago
parent
commit
90ec2d1a68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/archlinux/archlinux.plugin.zsh

+ 1 - 1
plugins/archlinux/archlinux.plugin.zsh

@@ -186,7 +186,7 @@ function upgrade() {
   if [ $installedver != $currentver ]; then
     echo "[oh-my-zsh] Arch Linux PGP Keyring is out of date."
     echo "[oh-my-zsh] Updating before full system upgrade."
-    sudo pacman -Syu --needed --noconfirm archlinux-keyring
+    sudo pacman -Sy --needed --noconfirm archlinux-keyring
   else
     echo "[oh-my-zsh] Arch Linux PGP Keyring is up to date."
   fi