# A keyring transaction must finish even if the system keyring isn't ready yet. The installer and switch
# explicitly check trust before installing the desktop. archlinux-keyring ships no pacman populate hook here.
_populate() {
  if ! command -v pacman-key >/dev/null 2>&1 || ! pacman-key --populate starchaser; then
    echo '  Note: Starchaser signing keys could not be populated. Run pacman-key --populate starchaser before installing Starchaser packages.'
  fi
  return 0
}
post_install() { _populate; }
post_upgrade() { _populate; }
