summaryrefslogtreecommitdiff
path: root/debian/dnsmasq-base.postinst
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2015-09-29 22:54:41 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2015-09-29 22:54:41 +0100
commit4790115455ca3bc04250a260c4767737b7f751f7 (patch)
treececfbcb80bffe3898e7aecd45912b1c1ad2bac91 /debian/dnsmasq-base.postinst
parent27b78d990b7cd901866ad6f1a17b9d633a95fdce (diff)
downloaddnsmasq-4790115455ca3bc04250a260c4767737b7f751f7.tar.gz
Use /run/dnsmasq instead of /var/run/dnsmasq in Debian package.
Diffstat (limited to 'debian/dnsmasq-base.postinst')
-rw-r--r--debian/dnsmasq-base.postinst6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/dnsmasq-base.postinst b/debian/dnsmasq-base.postinst
index 4f025ca..50b148e 100644
--- a/debian/dnsmasq-base.postinst
+++ b/debian/dnsmasq-base.postinst
@@ -17,8 +17,8 @@ if [ "$1" = "configure" ]; then
# dnsmasq-base, but it's much easier to create it here so that
# we don't have synchronisation issues with the creation of the
# dnsmasq user.
- if [ ! -d /var/run/dnsmasq ]; then
- mkdir /var/run/dnsmasq
- chown dnsmasq:nogroup /var/run/dnsmasq
+ if [ ! -d /run/dnsmasq ]; then
+ mkdir /run/dnsmasq
+ chown dnsmasq:nogroup /run/dnsmasq
fi
fi