summaryrefslogtreecommitdiff
path: root/utils/lxc.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-09-19 09:17:28 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-09-19 09:35:54 +0200
commitd026486ce39d02f1e282024b397581b18f327135 (patch)
treebb43dc9519e43a8d9e4de070216b08602e08597a /utils/lxc.sh
parent0b832f19bf6590f099c572686d847db7cf7487e9 (diff)
downloadsearxng-d026486ce39d02f1e282024b397581b18f327135.tar.gz
searxng-d026486ce39d02f1e282024b397581b18f327135.zip
[fix] scripts: elimination of limitations on dedicated distributions
The restriction of shell scripts to certain distributions is only required for certain actions such as the installation of a SearXNG instance. The maintenance scripts and build processes were previously also restricted to these specific distributions. With this patch, the build processes (such as the build of online documentation) can now also be executed on all Linux distributions. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lxc.sh')
-rwxr-xr-xutils/lxc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/lxc.sh b/utils/lxc.sh
index 723451115..32f0ad9b3 100755
--- a/utils/lxc.sh
+++ b/utils/lxc.sh
@@ -135,6 +135,8 @@ main() {
local exit_val
local _usage="unknown or missing $1 command $2"
+ lxc_distro_setup
+
# don't check prerequisite when in recursion
if [[ ! $1 == __* ]] && [[ ! $1 == --help ]]; then
if ! in_container; then