From b84b44fc32afe8b1bf86ddb3e3d0403a68504e1f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 14 Sep 2017 14:48:32 +0200 Subject: core/archlinux32-keyring-transition new --- .../archlinux32-keyring-transition.install | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 core/archlinux32-keyring-transition/archlinux32-keyring-transition.install (limited to 'core/archlinux32-keyring-transition/archlinux32-keyring-transition.install') diff --git a/core/archlinux32-keyring-transition/archlinux32-keyring-transition.install b/core/archlinux32-keyring-transition/archlinux32-keyring-transition.install new file mode 100644 index 00000000..c07ccf39 --- /dev/null +++ b/core/archlinux32-keyring-transition/archlinux32-keyring-transition.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 +} -- cgit v1.2.3-70-g09d2