summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Williams <mike@gaima.co.uk>2022-02-23 18:49:50 -0800
committerZac Medico <zmedico@gentoo.org>2022-02-23 18:50:45 -0800
commit499aecfe64a6cc8275b6fc653213e0f00539b1f7 (patch)
tree76349cbff4f7e47ab3cb6665c84d007338a7e89c /app-admin/vault
parentmedia-sound/lilypond: sync live (diff)
downloadgentoo-499aecfe64a6cc8275b6fc653213e0f00539b1f7.tar.gz
gentoo-499aecfe64a6cc8275b6fc653213e0f00539b1f7.tar.bz2
gentoo-499aecfe64a6cc8275b6fc653213e0f00539b1f7.zip
app-admin/vault: Fix USE=-webui
Closes: https://bugs.gentoo.org/830535 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-admin/vault')
-rw-r--r--app-admin/vault/vault-1.9.2.ebuild3
-rw-r--r--app-admin/vault/vault-1.9.3.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/app-admin/vault/vault-1.9.2.ebuild b/app-admin/vault/vault-1.9.2.ebuild
index 2b4429800783..1701333dbcbb 100644
--- a/app-admin/vault/vault-1.9.2.ebuild
+++ b/app-admin/vault/vault-1.9.2.ebuild
@@ -54,6 +54,9 @@ src_prepare() {
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
die "mv failed"
+ else
+ mkdir "${S}/http/web_ui" || die
+ touch "${S}/http/web_ui/no_web_ui" || die
fi
}
diff --git a/app-admin/vault/vault-1.9.3.ebuild b/app-admin/vault/vault-1.9.3.ebuild
index 84d20b363fcc..62895b557656 100644
--- a/app-admin/vault/vault-1.9.3.ebuild
+++ b/app-admin/vault/vault-1.9.3.ebuild
@@ -54,6 +54,9 @@ src_prepare() {
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
die "mv failed"
+ else
+ mkdir "${S}/http/web_ui" || die
+ touch "${S}/http/web_ui/no_web_ui" || die
fi
}