Update keyring

This commit is contained in:
MatMoul 2017-09-08 21:21:08 +02:00
parent dfa5b6744c
commit e0aa1299f9

View file

@ -22,6 +22,7 @@ options+=("" "")
options+=("Edit pacman.conf" "") options+=("Edit pacman.conf" "")
options+=("Edit mirrorlist" "") options+=("Edit mirrorlist" "")
options+=("" "") options+=("" "")
options+=("Update keyring" "pacman -S archlinux-keyring")
options+=("Refresh pacman keys" "pacman-key --refresh-keys") options+=("Refresh pacman keys" "pacman-key --refresh-keys")
options+=("" "") options+=("" "")
if [ -f /var/lib/pacman/db.lck ]; then if [ -f /var/lib/pacman/db.lck ]; then
@ -92,6 +93,7 @@ case $sel in
'Clean cache') pacman -Sc;; 'Clean cache') pacman -Sc;;
'Edit pacman.conf') nano /etc/pacman.conf;; 'Edit pacman.conf') nano /etc/pacman.conf;;
'Edit mirrorlist') nano /etc/pacman.d/mirrorlist;; 'Edit mirrorlist') nano /etc/pacman.d/mirrorlist;;
'Update keyring') pacman -S archlinux-keyring;;
'Refresh pacman keys') pacman-key --refresh-keys;; 'Refresh pacman keys') pacman-key --refresh-keys;;
'Remove db.lck') rm /var/lib/pacman/db.lck;; 'Remove db.lck') rm /var/lib/pacman/db.lck;;
'Install downgrade') 'Install downgrade')