summarylogtreecommitdiffstats
path: root/refresh-gpg-keys.sh
blob: 34201b5c02666bee67fe7d68beecfaa07a25400f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Remove old keyrings
sudo rm -rf /etc/pacman.d/gnupg

# Reinitialize keyring
sudo pacman-key --init

# Populate with Arch Linux keys
sudo pacman-key --populate archlinux

# Update the keyring package
sudo pacman -S --noconfirm archlinux-keyring