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