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}" RDEPEND="${DEPEND}"
src_configure() { src_configure() {
restore_config config.h [[ "${PV}" == "9999" ]] || restore_config config.h
default default
} }
@@ -48,6 +48,6 @@ src_install() {
PREFIX="/usr" \ PREFIX="/usr" \
install install
save_config config.h [[ "${PV}" == "9999" ]] || save_config config.h
einstalldocs einstalldocs
} }

View File

@@ -30,7 +30,7 @@ DEPEND="
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
src_configure() { src_configure() {
restore_config config.h [[ "${PV}" == "9999" ]] || restore_config config.h
default default
} }
@@ -48,6 +48,6 @@ src_install() {
PREFIX="/usr" \ PREFIX="/usr" \
install install
save_config config.h [[ "${PV}" == "9999" ]] || save_config config.h
einstalldocs einstalldocs
} }