commit: 3f5c46664887c821817cac6d7a58467183f39afe
parent 98aea8b888a8cfb3049d90e0d37b7066d1731136
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 12 Jun 2023 11:28:59 +0200
www-apps/pleroma: Remove update command from pleroma_ctl
Diffstat:
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/www-apps/pleroma/pleroma-2.5.2.ebuild b/www-apps/pleroma/pleroma-2.5.2.ebuild
@@ -63,6 +63,11 @@ src_prepare() {
sed -i -e '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die
+ sed -i \
+ -e '/update \[OPTIONS\]/,/--tmp-dir/d' \
+ -e 's;update "$@";echo "Unsupported, check the '"${CATEGORY}/${PN}"' package instead.";' \
+ rel/files/bin/pleroma_ctl || die
+
echo "import Mix.Config" > config/prod.secret.exs || die
}
diff --git a/www-apps/pleroma/pleroma-9999.ebuild b/www-apps/pleroma/pleroma-9999.ebuild
@@ -63,6 +63,11 @@ src_prepare() {
sed -i -e '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die
+ sed -i \
+ -e '/update \[OPTIONS\]/,/--tmp-dir/d' \
+ -e 's;update "$@";echo "Unsupported, check the '"${CATEGORY}/${PN}"' package instead.";' \
+ rel/files/bin/pleroma_ctl || die
+
echo "import Mix.Config" > config/prod.secret.exs || die
}