summaryrefslogtreecommitdiff
path: root/pacman-g2.hook
blob: ac2e099816b739b2e9dbd44c550c3fb2dd93708d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

pre_sysupgrade() {
	if [ -x /usr/bin/etckeeper ]; then
		etckeeper pre-install
	fi
}

post_sysupgrade() {
	if [ -x /usr/bin/etckeeper ]; then
		etckeeper post-install
	fi
}

op=$1
shift
$op $*