summarylogtreecommitdiffstats
path: root/msys2-keyring.install
blob: 54106519aaf10ae888458b8a2b14aaad257b6125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_upgrade() {
  if usr/bin/pacman-key -l >/dev/null 2>&1; then
    export GNUPGHOME="$(pacman-conf gpgdir)"
    usr/bin/pacman-key --populate msys2
    usr/bin/gpgconf --kill all
  fi
}

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