aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-12-14 23:56:57 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-12-14 23:57:17 +0100
commit7e75c552da7ccba51c4808b222b8cc5fa06d4571 (patch)
treedbe981e3acc87a1301a16393303b59d696ba2720 /www-client/badwolf
parentwww-client/badwolf: Version bump, 0.4.0 (diff)
downloadguru-7e75c552da7ccba51c4808b222b8cc5fa06d4571.tar.gz
guru-7e75c552da7ccba51c4808b222b8cc5fa06d4571.tar.bz2
guru-7e75c552da7ccba51c4808b222b8cc5fa06d4571.zip
www-client/badwolf: Guard savedconfig command from live
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'www-client/badwolf')
-rw-r--r--www-client/badwolf/badwolf-0.3.0.ebuild4
-rw-r--r--www-client/badwolf/badwolf-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/www-client/badwolf/badwolf-0.3.0.ebuild b/www-client/badwolf/badwolf-0.3.0.ebuild
index 9964a5aa..96eb30bf 100644
--- a/www-client/badwolf/badwolf-0.3.0.ebuild
+++ b/www-client/badwolf/badwolf-0.3.0.ebuild
@@ -30,7 +30,7 @@ DEPEND="
RDEPEND="${DEPEND}"
src_configure() {
- restore_config config.h
+ [[ "${PV}" == "9999" ]] || restore_config config.h
default
}
@@ -48,6 +48,6 @@ src_install() {
PREFIX="/usr" \
install
- save_config config.h
+ [[ "${PV}" == "9999" ]] || save_config config.h
einstalldocs
}
diff --git a/www-client/badwolf/badwolf-9999.ebuild b/www-client/badwolf/badwolf-9999.ebuild
index 9964a5aa..96eb30bf 100644
--- a/www-client/badwolf/badwolf-9999.ebuild
+++ b/www-client/badwolf/badwolf-9999.ebuild
@@ -30,7 +30,7 @@ DEPEND="
RDEPEND="${DEPEND}"
src_configure() {
- restore_config config.h
+ [[ "${PV}" == "9999" ]] || restore_config config.h
default
}
@@ -48,6 +48,6 @@ src_install() {
PREFIX="/usr" \
install
- save_config config.h
+ [[ "${PV}" == "9999" ]] || save_config config.h
einstalldocs
}