summaryrefslogtreecommitdiff
path: root/libre/archlinux32-keyring/archlinux32-keyring.install
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2017-10-31 00:58:04 -0600
committerIsaac David <isacdaavid@isacdaavid.info>2017-10-31 00:58:04 -0600
commit8a96ddaf76f7d09112ec6f47ee798885060e7b90 (patch)
tree8779abb5f56225f2fe04730875e633b94ce8356c /libre/archlinux32-keyring/archlinux32-keyring.install
parent3e373d62431b24ad98b60985fadcd95ce3ceba85 (diff)
downloadabslibre-8a96ddaf76f7d09112ec6f47ee798885060e7b90.tar.gz
abslibre-8a96ddaf76f7d09112ec6f47ee798885060e7b90.tar.bz2
abslibre-8a96ddaf76f7d09112ec6f47ee798885060e7b90.zip
add archlinux32-keyring to [libre]
just a prophylactic move for the incoming transition. it will be transparent to users once pacman is told to depend on this keyring, because unlike the original, this we sign
Diffstat (limited to 'libre/archlinux32-keyring/archlinux32-keyring.install')
-rw-r--r--libre/archlinux32-keyring/archlinux32-keyring.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/archlinux32-keyring/archlinux32-keyring.install b/libre/archlinux32-keyring/archlinux32-keyring.install
new file mode 100644
index 000000000..c07ccf39f
--- /dev/null
+++ b/libre/archlinux32-keyring/archlinux32-keyring.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
+}