summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-backup/rsnapshot/rsnapshot-1.4.2.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
index 1836d88f802b..cb4054f230e4 100644
--- a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
+++ b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild
@@ -20,6 +20,12 @@ RDEPEND=">=dev-lang/perl-5.8.2
>=net-misc/rsync-2.6.0"
DEPEND="${RDEPEND}"
+src_prepare() {
+ default
+ # remove '/etc/' since we don't place it here, bug #461554
+ sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die
+}
+
src_install() {
docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default"