Gentoo Archives: gentoo-commits

From: Ralph Seichter <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: www-client/badwolf/
Date: Sat, 14 Dec 2019 23:22:58
Message-Id: 1576364237.7e75c552da7ccba51c4808b222b8cc5fa06d4571.ralph-seichter@gentoo
1 commit: 7e75c552da7ccba51c4808b222b8cc5fa06d4571
2 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
3 AuthorDate: Sat Dec 14 22:56:57 2019 +0000
4 Commit: Ralph Seichter <gentoo <AT> seichter <DOT> de>
5 CommitDate: Sat Dec 14 22:57:17 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e75c552
7
8 www-client/badwolf: Guard savedconfig command from live
9
10 Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
11
12 www-client/badwolf/badwolf-0.3.0.ebuild | 4 ++--
13 www-client/badwolf/badwolf-9999.ebuild | 4 ++--
14 2 files changed, 4 insertions(+), 4 deletions(-)
15
16 diff --git a/www-client/badwolf/badwolf-0.3.0.ebuild b/www-client/badwolf/badwolf-0.3.0.ebuild
17 index 9964a5a..96eb30b 100644
18 --- a/www-client/badwolf/badwolf-0.3.0.ebuild
19 +++ b/www-client/badwolf/badwolf-0.3.0.ebuild
20 @@ -30,7 +30,7 @@ DEPEND="
21 RDEPEND="${DEPEND}"
22
23 src_configure() {
24 - restore_config config.h
25 + [[ "${PV}" == "9999" ]] || restore_config config.h
26 default
27 }
28
29 @@ -48,6 +48,6 @@ src_install() {
30 PREFIX="/usr" \
31 install
32
33 - save_config config.h
34 + [[ "${PV}" == "9999" ]] || save_config config.h
35 einstalldocs
36 }
37
38 diff --git a/www-client/badwolf/badwolf-9999.ebuild b/www-client/badwolf/badwolf-9999.ebuild
39 index 9964a5a..96eb30b 100644
40 --- a/www-client/badwolf/badwolf-9999.ebuild
41 +++ b/www-client/badwolf/badwolf-9999.ebuild
42 @@ -30,7 +30,7 @@ DEPEND="
43 RDEPEND="${DEPEND}"
44
45 src_configure() {
46 - restore_config config.h
47 + [[ "${PV}" == "9999" ]] || restore_config config.h
48 default
49 }
50
51 @@ -48,6 +48,6 @@ src_install() {
52 PREFIX="/usr" \
53 install
54
55 - save_config config.h
56 + [[ "${PV}" == "9999" ]] || save_config config.h
57 einstalldocs
58 }