summaryrefslogtreecommitdiffstats
path: root/abs/core/archlinux-keyring/archlinux-keyring.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/archlinux-keyring/archlinux-keyring.install')
-rw-r--r--abs/core/archlinux-keyring/archlinux-keyring.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/archlinux-keyring/archlinux-keyring.install b/abs/core/archlinux-keyring/archlinux-keyring.install
new file mode 100644
index 0000000..81726c6
--- /dev/null
+++ b/abs/core/archlinux-keyring/archlinux-keyring.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate archlinux
+ fi
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}