summarylogtreecommitdiffstats
path: root/mikelpint-keyring.install
blob: b37e6c3e1f21b3cc1903dab142cb02f4a640ed8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_upgrade() {
  if usr/bin/pacman-key -l >/dev/null 2>&1; then
    usr/bin/pacman-key --populate mikelpint
  else
    echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
    echo " >>> Then run \`pacman-key --populate mikelpint\` to install the mikelpint keyring."
  fi
}

post_install() {
  if [ -x usr/bin/pacman-key ]; then
    post_upgrade
  fi
}