www-client/badwolf: Guard savedconfig command from live

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2019-12-14 23:56:57 +01:00
parent abbff949fa
commit 7e75c552da
2 changed files with 4 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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
}