Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/rsnapshot/
Date: Thu, 25 Aug 2016 08:12:58
Message-Id: 1472112762.7ee1cd869cd00b87d9efffe5a36872647191e4ba.monsieurp@gentoo
1 commit: 7ee1cd869cd00b87d9efffe5a36872647191e4ba
2 Author: Sergiy Borodych <Sergiy.Borodych <AT> gmail <DOT> com>
3 AuthorDate: Mon Aug 22 12:53:17 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 25 08:12:42 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee1cd86
7
8 app-backup/rsnapshot: do not compress rsnapshot.conf.default.
9
10 Courtesy of Louis Sautier <sautier.louis <AT> gmail.com>.
11
12 Gentoo-Bug: https://bugs.gentoo.org/551762
13 Closes: https://github.com/gentoo/gentoo/pull/2120
14
15 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
16
17 app-backup/rsnapshot/rsnapshot-1.4.2.ebuild | 6 ++++--
18 1 file changed, 4 insertions(+), 2 deletions(-)
19
20 diff --git a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
21 index ecdbbf3..1836d88 100644
22 --- a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
23 +++ b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
24 @@ -21,6 +21,8 @@ RDEPEND=">=dev-lang/perl-5.8.2
25 DEPEND="${RDEPEND}"
26
27 src_install() {
28 + docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default"
29 +
30 # Change sysconfdir to install the template file as documentation
31 # rather than in /etc.
32 emake install DESTDIR="${D}" \
33 @@ -37,7 +39,7 @@ src_install() {
34 }
35
36 pkg_postinst() {
37 - elog "The template configuration file has been compressed and installed as"
38 - elog " /usr/share/doc/${PF}/rsnapshot.conf.default.[gz|bz2|etc]"
39 + elog "The template configuration file has been installed as"
40 + elog " /usr/share/doc/${PF}/rsnapshot.conf.default"
41 elog "Copy and edit the the above file as /etc/rsnapshot.conf"
42 }