Files
snigdhaos-pkgbuilds/eshanized-keyring/eshanized-keyring.install
Eshan Roy (Eshanized) 0ccaf08ac3 feat: add files
2024-04-30 18:26:03 +05:30

14 lines
358 B
Plaintext

post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate eshanized
else
echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
echo " >>> Then run \`pacman-key --populate eshanized\` to install the Snigdha OS keyring."
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}