summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/dnsmasq/dnsmasq.install
blob: 25501a46903b791a82a8c43943b0b9d40e39be4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# arg 1: the new package version
post_install() {
	post_upgrade
}

# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
  	touch /etc/dnsmasq.mvpmc.conf
	chown nobody:nobody /etc/dnsmasq.mvpmc.conf
}

# arg 1: the old package version
pre_remove() {
	/bin/true
}

op=$1
shift

$op $*