summarylogtreecommitdiffstats
path: root/arch4edu-keyring.install
diff options
context:
space:
mode:
authorJingbei Li2020-08-05 20:44:29 +0800
committerJingbei Li2020-08-05 20:44:29 +0800
commit3a61b8e01ee89957701a001400525e66251a4a95 (patch)
tree0fb59c4600df9dbe4b3acc9cc19efde963794361 /arch4edu-keyring.install
downloadaur-3a61b8e01ee89957701a001400525e66251a4a95.tar.gz
Initial commit
Diffstat (limited to 'arch4edu-keyring.install')
-rw-r--r--arch4edu-keyring.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch4edu-keyring.install b/arch4edu-keyring.install
new file mode 100644
index 000000000000..f5158dc77d65
--- /dev/null
+++ b/arch4edu-keyring.install
@@ -0,0 +1,9 @@
+post_upgrade() {
+ usr/bin/pacman-key -l 7931B6D628C8D3BA || usr/bin/pacman-key --populate arch4edu
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}