diff options
author | Sergiy Borodych <Sergiy.Borodych@gmail.com> | 2016-08-22 16:32:52 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-08-25 10:12:45 +0200 |
commit | 76a525aa9005168e49605041c204e73069f651f5 (patch) | |
tree | 82d5105b0251393d074783a5529c439f56950d7c /app-backup | |
parent | app-backup/rsnapshot: do not compress rsnapshot.conf.default. (diff) | |
download | gentoo-76a525aa9005168e49605041c204e73069f651f5.tar.gz gentoo-76a525aa9005168e49605041c204e73069f651f5.tar.bz2 gentoo-76a525aa9005168e49605041c204e73069f651f5.zip |
app-backup/rsnapshot: strip rsnapshot.conf.default of a hardcoded path.
remove '/etc/' since we don't place it here.
Gentoo-Bug: https://bugs.gentoo.org/461554
Closes: https://github.com/gentoo/gentoo/pull/2120
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/rsnapshot/rsnapshot-1.4.2.ebuild | 6 |
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" |