Gentoo Archives: gentoo-commits

From: "Yixun Lan (dlan)" <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-backup/snapper/files: cron-confd.patch
Date: Wed, 21 May 2014 02:52:39
Message-Id: 20140521025236.22CA72004E@flycatcher.gentoo.org
1 dlan 14/05/21 02:52:36
2
3 Added: cron-confd.patch
4 Log:
5 initial version, contributed by Dainius Masiliƫnas (GreatEmerald), polished by me
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
8
9 Revision Changes Path
10 1.1 app-backup/snapper/files/cron-confd.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/files/cron-confd.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/snapper/files/cron-confd.patch?rev=1.1&content-type=text/plain
14
15 Index: cron-confd.patch
16 ===================================================================
17 diff -u old/scripts/snapper-daily new/scripts/snapper-daily
18 --- old/scripts/snapper-daily 2014-01-29 17:48:30.000000000 +0200
19 +++ new/scripts/snapper-daily 2014-02-19 13:32:22.702734875 +0200
20 @@ -9,10 +9,10 @@
21
22
23 #
24 -# get information from /etc/sysconfig/snapper
25 +# get information from /etc/conf.d/snapper
26 #
27 -if [ -f /etc/sysconfig/snapper ] ; then
28 - . /etc/sysconfig/snapper
29 +if [ -f /etc/conf.d/snapper ] ; then
30 + . /etc/conf.d/snapper
31 fi
32
33
34 diff -u old/scripts/snapper-hourly new/scripts/snapper-hourly
35 --- old/scripts/snapper-hourly 2014-01-29 17:48:30.000000000 +0200
36 +++ new/scripts/snapper-hourly 2014-02-19 13:32:43.609166927 +0200
37 @@ -9,10 +9,10 @@
38
39
40 #
41 -# get information from /etc/sysconfig/snapper
42 +# get information from /etc/conf.d/snapper
43 #
44 -if [ -f /etc/sysconfig/snapper ] ; then
45 - . /etc/sysconfig/snapper
46 +if [ -f /etc/conf.d/snapper ] ; then
47 + . /etc/conf.d/snapper
48 fi