Add kira-linux-keyring.install script so pacman keyring get updated on kira keyring package update

This commit is contained in:
kira committed 2026-11-19 16:42:09 +01:00
1 parent c402f564cf
commit d7a8304fc4
2 files changed
+17 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate kira-linux
usr/bin/pacman-key --updatedb
else
echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
echo " >>> Then run \`pacman-key --populate kira-linux\` to install the EndeavourOS keyring."
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}