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