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

This commit is contained in:
deimosian 2023-04-09 04:24:55 -04:00 committed by GitHub
parent ad99f0c164
commit 90ec2d1a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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