summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2014-01-28 15:35:09 +0000
committerYixun Lan <dlan@gentoo.org>2014-01-28 15:35:09 +0000
commit0b50f684a43eabe9da7dac43ae32c093750bf858 (patch)
tree0f1d56f24082531a9d2960b7602f27e4c0eb8c13 /net-dns/ez-ipupdate
parentVersion bump, remove older unstables (diff)
downloadgentoo-2-0b50f684a43eabe9da7dac43ae32c093750bf858.tar.gz
gentoo-2-0b50f684a43eabe9da7dac43ae32c093750bf858.tar.bz2
gentoo-2-0b50f684a43eabe9da7dac43ae32c093750bf858.zip
use checkpath to create directory
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'net-dns/ez-ipupdate')
-rw-r--r--net-dns/ez-ipupdate/files/ez-ipupdate.initd6
1 files changed, 2 insertions, 4 deletions
diff --git a/net-dns/ez-ipupdate/files/ez-ipupdate.initd b/net-dns/ez-ipupdate/files/ez-ipupdate.initd
index 760bbfb272c1..a9c5f028be0b 100644
--- a/net-dns/ez-ipupdate/files/ez-ipupdate.initd
+++ b/net-dns/ez-ipupdate/files/ez-ipupdate.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.initd,v 1.5 2014/01/28 09:22:49 dlan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.initd,v 1.6 2014/01/28 15:35:09 dlan Exp $
extra_commands="update"
@@ -36,9 +36,7 @@ start() {
fi
for dir in /var/run/ez-ipupdate /var/cache/ez-ipupdate; do
- if [ ! -d ${dir} ]; then
- mkdir -p /var/run/ez-ipupdate && chown ez-ipupd:ez-ipupd /var/run/ez-ipupdate
- fi
+ checkpath -q -d -m 0750 -o ez-ipupd:ez-ipupd ${dir}
done
for NAME in ${LIST}; do