From: Sergiy Borodych Date: Mon, 22 Aug 2016 12:53:17 +0000 (+0300) Subject: app-backup/rsnapshot: do not compress rsnapshot.conf.default. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ee1cd869cd00b87d9efffe5a36872647191e4ba;p=gentoo.git app-backup/rsnapshot: do not compress rsnapshot.conf.default. Courtesy of Louis Sautier . Gentoo-Bug: https://bugs.gentoo.org/551762 Closes: https://github.com/gentoo/gentoo/pull/2120 Signed-off-by: Patrice Clement --- 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" }