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>
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}" \
}
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"
}