summaryrefslogtreecommitdiff
path: root/archlinuxewe-keyring/archlinuxewe-keyring.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-01-01 11:45:12 +0100
committerErich Eckner <git@eckner.net>2022-01-01 11:45:12 +0100
commit754ac9638a4af36c963a4b31f6be58d4ca65469b (patch)
treeedf22baa163c7d2c8d75c0f480e11f07f2a7aaf9 /archlinuxewe-keyring/archlinuxewe-keyring.install
parent6278b58b4cbcaf9ff406ce53a130b575fd9e9c0d (diff)
downloadarchlinuxewe-754ac9638a4af36c963a4b31f6be58d4ca65469b.tar.xz
archlinuxewe-keyring neu
Diffstat (limited to 'archlinuxewe-keyring/archlinuxewe-keyring.install')
-rw-r--r--archlinuxewe-keyring/archlinuxewe-keyring.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/archlinuxewe-keyring/archlinuxewe-keyring.install b/archlinuxewe-keyring/archlinuxewe-keyring.install
new file mode 100644
index 000000000..6f826b95b
--- /dev/null
+++ b/archlinuxewe-keyring/archlinuxewe-keyring.install
@@ -0,0 +1,12 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate archlinuxewe
+ usr/bin/pacman-key --updatedb
+ fi
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}