summaryrefslogtreecommitdiff
path: root/archlinuxarm-keyring/archlinuxarm-keyring.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-09-10 11:26:21 +0200
committerErich Eckner <git@eckner.net>2020-09-10 11:26:50 +0200
commit204b19276f0e3b862d5d8b3927c86d09ef6c6086 (patch)
tree76771b10d4e9f4b195549fef3e10da50363c6003 /archlinuxarm-keyring/archlinuxarm-keyring.install
parent91b49138d9cca3477aef8920bd18166dcc1fa32e (diff)
downloadarchlinuxewe-204b19276f0e3b862d5d8b3927c86d09ef6c6086.tar.xz
archlinuxarm-keyring new
Diffstat (limited to 'archlinuxarm-keyring/archlinuxarm-keyring.install')
-rw-r--r--archlinuxarm-keyring/archlinuxarm-keyring.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/archlinuxarm-keyring/archlinuxarm-keyring.install b/archlinuxarm-keyring/archlinuxarm-keyring.install
new file mode 100644
index 000000000..8304dd82e
--- /dev/null
+++ b/archlinuxarm-keyring/archlinuxarm-keyring.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate archlinuxarm
+ fi
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}