diff options
author | deimosian <deimosian@gmail.com> | 2023-04-09 06:58:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-09 12:58:38 +0200 |
commit | 4586808f86bf3bfdf97685380472b63597ce43c0 (patch) | |
tree | 7330c0b42dae2c94e824608342e227e2d80fd9d6 /plugins | |
parent | 90ec2d1a68049d8b7e57b87c3661d8cacf54655c (diff) | |
download | zsh-4586808f86bf3bfdf97685380472b63597ce43c0.tar.gz zsh-4586808f86bf3bfdf97685380472b63597ce43c0.tar.bz2 zsh-4586808f86bf3bfdf97685380472b63597ce43c0.zip |
feat(archlinux): improve update function messages (#11608)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/archlinux/archlinux.plugin.zsh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/archlinux/archlinux.plugin.zsh b/plugins/archlinux/archlinux.plugin.zsh index ce7bfdf23..da170f488 100644 --- a/plugins/archlinux/archlinux.plugin.zsh +++ b/plugins/archlinux/archlinux.plugin.zsh @@ -180,17 +180,17 @@ fi # Check Arch Linux PGP Keyring before System Upgrade to prevent failure. function upgrade() { - echo "[oh-my-zsh] Checking Arch Linux PGP Keyring" + echo ":: Checking Arch Linux PGP Keyring..." local installedver="$(sudo pacman -Qi archlinux-keyring | grep -Po '(?<=Version : ).*')" local currentver="$(sudo pacman -Si archlinux-keyring | grep -Po '(?<=Version : ).*')" 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." + echo " Arch Linux PGP Keyring is out of date." + echo " Updating before full system upgrade." sudo pacman -Sy --needed --noconfirm archlinux-keyring else - echo "[oh-my-zsh] Arch Linux PGP Keyring is up to date." + echo " Arch Linux PGP Keyring is up to date." + echo " Proceeding with full system upgrade." fi - echo "[oh-mh-zsh] Proceeding with full system upgrade." if (( $+commands[yay] )); then yay -Syu elif (( $+commands[trizen] )); then |