mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 10:02:20 +02:00
[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>
This commit is contained in:
parent
0b832f19bf
commit
d026486ce3
3 changed files with 25 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue