diff options
Diffstat (limited to 'abs/mv-core/dnsmasq/dnsmasq.install')
-rw-r--r-- | abs/mv-core/dnsmasq/dnsmasq.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/mv-core/dnsmasq/dnsmasq.install b/abs/mv-core/dnsmasq/dnsmasq.install new file mode 100644 index 0000000..25501a4 --- /dev/null +++ b/abs/mv-core/dnsmasq/dnsmasq.install @@ -0,0 +1,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 $* |