summaryrefslogtreecommitdiffstats
path: root/abs/core/archlinux-keyring/archlinux-keyring.install
diff options
context:
space:
mode:
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
index 81726c6..19f594b 100644
--- a/abs/core/archlinux-keyring/archlinux-keyring.install
+++ b/abs/core/archlinux-keyring/archlinux-keyring.install
@@ -1,6 +1,17 @@
post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate archlinux
+
+ # Re-enable key of dwallace
+ # See https://bugs.archlinux.org/task/35478
+ if [ -z "$2" ] || [ "$2" = "20130525-1" ]; then
+ printf 'enable\nquit\n' | LANG=C \
+ gpg --homedir /etc/pacman.d/gnupg \
+ --no-permission-warning --command-fd 0 \
+ --quiet --batch --edit-key \
+ 5559BC1A32B8F76B3FCCD9555FA5E5544F010D48 \
+ 2>/dev/null
+ fi
fi
}