summaryrefslogtreecommitdiff
path: root/nonsystemd/libretools/libretools.install
blob: 759e32dc4f503ab1cb1d17a79e7bbf579fa42699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# arg 1:  the new package version
post_install() {
	librefetch-install install etc/makepkg.conf
}

## arg 1:  the new package version
## arg 2:  the old package version
post_upgrade() {
	if [[ "$(vercmp 20160505 "$2")" -eq 1 ]]; then
		echo ":: The archroot format has changed from v3 to v4;"
		echo "   you will need delete and re-create your chroots."
	fi
	librefetch-install install etc/makepkg.conf
}

pre_remove() {
	librefetch-install remove etc/makepkg.conf
}