summaryrefslogtreecommitdiff
path: root/libre/archlinuxarm-keyring/archlinuxarm-keyring.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/archlinuxarm-keyring/archlinuxarm-keyring.install')
-rw-r--r--libre/archlinuxarm-keyring/archlinuxarm-keyring.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/archlinuxarm-keyring/archlinuxarm-keyring.install b/libre/archlinuxarm-keyring/archlinuxarm-keyring.install
new file mode 100644
index 000000000..8304dd82e
--- /dev/null
+++ b/libre/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
+}