summaryrefslogtreecommitdiff
path: root/dotfiles/system/.local/bin/refresharchkeys
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/system/.local/bin/refresharchkeys')
-rwxr-xr-xdotfiles/system/.local/bin/refresharchkeys6
1 files changed, 6 insertions, 0 deletions
diff --git a/dotfiles/system/.local/bin/refresharchkeys b/dotfiles/system/.local/bin/refresharchkeys
new file mode 100755
index 0000000..db1e755
--- /dev/null
+++ b/dotfiles/system/.local/bin/refresharchkeys
@@ -0,0 +1,6 @@
+#!/bin/sh
+sudo rm -R /etc/pacman.d/gnupg
+sudo pacman-key --init
+sudo pacman-key --populate archlinux
+sudo pacman -Sy archlinux-keyring
+sudo pacman -Syu