commit: 7e75c552da7ccba51c4808b222b8cc5fa06d4571 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Sat Dec 14 22:56:57 2019 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Sat Dec 14 22:57:17 2019 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e75c552
www-client/badwolf: Guard savedconfig command from live Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> www-client/badwolf/badwolf-0.3.0.ebuild | 4 ++-- www-client/badwolf/badwolf-9999.ebuild | 4 ++-- 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 9964a5a..96eb30b 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 9964a5a..96eb30b 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 }