1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

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
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