searxngRebrandZaclys/utils
Markus Heiser 414a6105e7 [mod] load .config.sh from installation (utils/lib_install.sh)
**new** utils/lib_install.sh:
  Used to initialize installation procedures

  - Modified source_dot_config function that
    - loads .config.sh from an existing installation (at SEARX_SRC).
    - initialize **SEARX_SRC_INIT_FILES**
  - functions like:
    - install_log_searx_instance()
    - install_searx_get_state()

**modified** utils/searx.sh
    - obsolete environment SEARX_INSTANCE_NAME has been replaced
      by string 'SearXNG'.

**modified** utils/filtron.sh, utils/morty.sh, utils/searx.sh
  - source utils/lib_install.sh
  - normalize logging of environment variables using new function
    install_log_searx_instance()

**modified** utils/lib.sh
  - fix marginal typos

**Installation scripts**
  The utils/lib_install.sh is sourced by the installations scripts:

  - utils/searx.sh
  - utils/morty.sh
  - utils/filtron.sh

  If '${SEARX_SRC}/.config.sh' exists, the modified source_dot_config() function
  loads this configuration (instead of './.config.sh').

**SEARX_SRC_INIT_FILES**
  Array of file names to sync into a installation at $SEARX_SRC.  The file names
  are relative to the $REPO_ROOT.  Set by function init_SEARX_SRC_INIT_FILES().
  Most often theses are files like:

  - .config.sh
  - searx/settings.yml
  - utils/brand.env
  - ...

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-21 14:38:33 +02:00
..
templates [mod] drop usage of the searx.brand namespace (python procs) 2021-07-18 15:55:42 +02:00
brand.env [mod] drop unused setting option brand:twitter_url 2021-07-21 13:38:28 +02:00
build_env.py [mod] drop unused setting option brand:twitter_url 2021-07-21 13:38:28 +02:00
filtron.sh [mod] load .config.sh from installation (utils/lib_install.sh) 2021-07-21 14:38:33 +02:00
lib_install.sh [mod] load .config.sh from installation (utils/lib_install.sh) 2021-07-21 14:38:33 +02:00
lib_static.sh [mod] move functions from utils/manage_static.sh to ./manage script 2021-06-26 13:45:25 +02:00
lib.sh [mod] load .config.sh from installation (utils/lib_install.sh) 2021-07-21 14:38:33 +02:00
lxc-searx.env [mod] LXC switch to Fedora 33 / Fedora 31 reached its EOL 2021-03-05 13:17:47 +01:00
lxc.sh [fix] pacman --noprogressbar in shell scripts 2021-07-03 18:24:55 +02:00
makefile.include [mod] replace makefile boilerplate by 'manage' script 2021-04-23 11:26:22 +02:00
makefile.lxc [mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env 2020-12-26 11:43:18 +01:00
morty.sh [mod] load .config.sh from installation (utils/lib_install.sh) 2021-07-21 14:38:33 +02:00
searx.sh [mod] load .config.sh from installation (utils/lib_install.sh) 2021-07-21 14:38:33 +02:00