summaryrefslogtreecommitdiff
path: root/archlinuxewe-keyring/archlinuxewe-keyring.install
blob: 6f826b95b73e8b6c8ece3839118b787b945add59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_upgrade() {
	if usr/bin/pacman-key -l >/dev/null 2>&1; then
		usr/bin/pacman-key --populate archlinuxewe
		usr/bin/pacman-key --updatedb
	fi
}

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