mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
16 lines
370 B
Bash
16 lines
370 B
Bash
post_upgrade() {
|
|
if usr/bin/pacman-key -l >/dev/null 2>&1; then
|
|
usr/bin/pacman-key --populate chakra
|
|
else
|
|
echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
|
|
echo " >>> Then run \`pacman-key --populate chakra\` to install the Chakra keyring."
|
|
fi
|
|
}
|
|
|
|
post_install() {
|
|
if [ -x usr/bin/pacman-key ]; then
|
|
post_upgrade
|
|
fi
|
|
}
|
|
# -*- mode: bash;-*-
|