mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 23:40:39 +01:00
fix(archlinux): keyring update function (#11607)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user