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