Gentoo Archives: gentoo-commits

From: "Yixun Lan (dlan)" <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/ez-ipupdate/files: ez-ipupdate.initd
Date: Tue, 28 Jan 2014 15:35:13
Message-Id: 20140128153509.E04DC2004C@flycatcher.gentoo.org
1 dlan 14/01/28 15:35:09
2
3 Modified: ez-ipupdate.initd
4 Log:
5 use checkpath to create directory
6
7 (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
8
9 Revision Changes Path
10 1.6 net-dns/ez-ipupdate/files/ez-ipupdate.initd
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.initd?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.initd?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.initd?r1=1.5&r2=1.6
15
16 Index: ez-ipupdate.initd
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.initd,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ez-ipupdate.initd 28 Jan 2014 09:22:49 -0000 1.5
23 +++ ez-ipupdate.initd 28 Jan 2014 15:35:09 -0000 1.6
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.initd,v 1.5 2014/01/28 09:22:49 dlan Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/files/ez-ipupdate.initd,v 1.6 2014/01/28 15:35:09 dlan Exp $
30
31 extra_commands="update"
32
33 @@ -36,9 +36,7 @@
34 fi
35
36 for dir in /var/run/ez-ipupdate /var/cache/ez-ipupdate; do
37 - if [ ! -d ${dir} ]; then
38 - mkdir -p /var/run/ez-ipupdate && chown ez-ipupd:ez-ipupd /var/run/ez-ipupdate
39 - fi
40 + checkpath -q -d -m 0750 -o ez-ipupd:ez-ipupd ${dir}
41 done
42
43 for NAME in ${LIST}; do