MSYS2-packages/msys2-keyring/msys2-keyring.install
Christopher Degawa b7cee0cfa7
msys2-keyring: append .exe to gpgconf
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
2024-06-06 09:25:11 -05:00

14 lines
276 B
Plaintext

post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
export GNUPGHOME="$(pacman-conf.exe gpgdir)"
usr/bin/pacman-key --populate msys2
usr/bin/gpgconf.exe --kill all
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}