summaryrefslogtreecommitdiffstats
path: root/abs/core/archlinux-keyring/archlinux-keyring.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-09 00:01:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-09 00:01:06 (GMT)
commit140af5d159d16ddd259d4e98b8159f85b2dce62d (patch)
tree4f72c2d2316c0f4ecde4fd4b37b4f3a93981eae9 /abs/core/archlinux-keyring/archlinux-keyring.install
parentaf3f9c550224eb16b13cc98a872c60f93991ad74 (diff)
downloadlinhes_pkgbuild-140af5d159d16ddd259d4e98b8159f85b2dce62d.zip
linhes_pkgbuild-140af5d159d16ddd259d4e98b8159f85b2dce62d.tar.gz
linhes_pkgbuild-140af5d159d16ddd259d4e98b8159f85b2dce62d.tar.bz2
archlinux-keyring
Diffstat (limited to 'abs/core/archlinux-keyring/archlinux-keyring.install')
-rw-r--r--abs/core/archlinux-keyring/archlinux-keyring.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/archlinux-keyring/archlinux-keyring.install b/abs/core/archlinux-keyring/archlinux-keyring.install
new file mode 100644
index 0000000..81726c6
--- /dev/null
+++ b/abs/core/archlinux-keyring/archlinux-keyring.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate archlinux
+ fi
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}