1 |
commit: 76a525aa9005168e49605041c204e73069f651f5 |
2 |
Author: Sergiy Borodych <Sergiy.Borodych <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Aug 22 13:32:52 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 08:12:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a525aa |
7 |
|
8 |
app-backup/rsnapshot: strip rsnapshot.conf.default of a hardcoded path. |
9 |
|
10 |
remove '/etc/' since we don't place it here. |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/461554 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/2120 |
14 |
|
15 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
16 |
|
17 |
app-backup/rsnapshot/rsnapshot-1.4.2.ebuild | 6 ++++++ |
18 |
1 file changed, 6 insertions(+) |
19 |
|
20 |
diff --git a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild |
21 |
index 1836d88..cb4054f 100644 |
22 |
--- a/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild |
23 |
+++ b/app-backup/rsnapshot/rsnapshot-1.4.2.ebuild |
24 |
@@ -20,6 +20,12 @@ RDEPEND=">=dev-lang/perl-5.8.2 |
25 |
>=net-misc/rsync-2.6.0" |
26 |
DEPEND="${RDEPEND}" |
27 |
|
28 |
+src_prepare() { |
29 |
+ default |
30 |
+ # remove '/etc/' since we don't place it here, bug #461554 |
31 |
+ sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die |
32 |
+} |
33 |
+ |
34 |
src_install() { |
35 |
docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default" |