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