commit: 7ee1cd869cd00b87d9efffe5a36872647191e4ba Author: Sergiy Borodych <Sergiy.Borodych <AT> gmail <DOT> com> AuthorDate: Mon Aug 22 12:53:17 2016 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Thu Aug 25 08:12:42 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee1cd86
app-backup/rsnapshot: do not compress rsnapshot.conf.default. Courtesy of Louis Sautier <sautier.louis <AT> gmail.com>. Gentoo-Bug: https://bugs.gentoo.org/551762 Closes: https://github.com/gentoo/gentoo/pull/2120 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> 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 ecdbbf3..1836d88 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" }
