summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiy Borodych <Sergiy.Borodych@gmail.com>2016-08-22 15:53:17 +0300
committerPatrice Clement <monsieurp@gentoo.org>2016-08-25 10:12:42 +0200
commit7ee1cd869cd00b87d9efffe5a36872647191e4ba (patch)
treef9224d0c4e67aec9406bbc9e952625d3b81476b6 /app-backup
parentApply fix of bug 585004 also to current stable (S variable) (diff)
downloadgentoo-7ee1cd869cd00b87d9efffe5a36872647191e4ba.tar.gz
gentoo-7ee1cd869cd00b87d9efffe5a36872647191e4ba.tar.bz2
gentoo-7ee1cd869cd00b87d9efffe5a36872647191e4ba.zip
app-backup/rsnapshot: do not compress rsnapshot.conf.default.
Courtesy of Louis Sautier <sautier.louis@gmail.com>. Gentoo-Bug: https://bugs.gentoo.org/551762 Closes: https://github.com/gentoo/gentoo/pull/2120 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/rsnapshot/rsnapshot-1.4.2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
index ecdbbf32b9bc..1836d88f802b 100644
--- a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
+++ b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
@@ -21,6 +21,8 @@ RDEPEND=">=dev-lang/perl-5.8.2
DEPEND="${RDEPEND}"
src_install() {
+ docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default"
+
# Change sysconfdir to install the template file as documentation
# rather than in /etc.
emake install DESTDIR="${D}" \
@@ -37,7 +39,7 @@ src_install() {
}
pkg_postinst() {
- elog "The template configuration file has been compressed and installed as"
- elog " /usr/share/doc/${PF}/rsnapshot.conf.default.[gz|bz2|etc]"
+ elog "The template configuration file has been installed as"
+ elog " /usr/share/doc/${PF}/rsnapshot.conf.default"
elog "Copy and edit the the above file as /etc/rsnapshot.conf"
}