Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/archlinux32-keyring/archlinux32-keyring.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-15 23:25:07 +0200
committerErich Eckner <git@eckner.net>2017-05-15 23:25:40 +0200
commit05724639323b2d21bcc5e156fc1f69dc311eb54d (patch)
tree1407e2bbe7713f8b73458dcbbe0410bf36445974 /core/archlinux32-keyring/archlinux32-keyring.install
parent895810544ec4fc513c5644f766e9d408395e51b2 (diff)
archlinux32-keyring new
Diffstat (limited to 'core/archlinux32-keyring/archlinux32-keyring.install')
-rw-r--r--core/archlinux32-keyring/archlinux32-keyring.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/archlinux32-keyring/archlinux32-keyring.install b/core/archlinux32-keyring/archlinux32-keyring.install
new file mode 100644
index 00000000..c07ccf39
--- /dev/null
+++ b/core/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
+}