From 7ee1cd869cd00b87d9efffe5a36872647191e4ba Mon Sep 17 00:00:00 2001 From: Sergiy Borodych Date: Mon, 22 Aug 2016 15:53:17 +0300 Subject: [PATCH] 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 --- app-backup/rsnapshot/rsnapshot-1.4.2.ebuild | 6 ++++-- 1 file 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" } -- 2.26.2