summarylogtreecommitdiffstats
path: root/arsch-keyring.install
blob: 61ab329a21a32e34266f01c0fa6d6af51aa70b2a (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 arsch
  else
    echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
    echo " >>> Then run \`pacman-key --populate arsch\` to install the arsch keyring."
  fi
}

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