app-backup/rsnapshot: do not compress rsnapshot.conf.default.
authorSergiy Borodych <Sergiy.Borodych@gmail.com>
Mon, 22 Aug 2016 12:53:17 +0000 (15:53 +0300)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 25 Aug 2016 08:12:42 +0000 (10:12 +0200)
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>
app-backup/rsnapshot/rsnapshot-1.4.2.ebuild

index ecdbbf32b9bc7274e967262f049a44fb24350a30..1836d88f802b3e1baad9e4fa9acc6d30d8d59f84 100644 (file)
@@ -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"
 }