You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/utils
Markus Heiser 7167a7ee36 [mod] utils/.searx.sh: add commands: install [dot-config|init-src]
This patch implements two new commands:

install dot-config :
  - copy ./config.sh to ${SEARX_SRC}
  - implemented in new function install_DOT_CONFIG

install init-src:
  - sync files (SEARX_SRC_INIT_FILES) with ${SEARX_SRC}
  - implemented in new function init_SEARX_SRC()

new functions: verify_continue_install() and prompt_installation_status()
  These functions are used in installation procedures to get the status of the
  installation procedure.  The status is based on the existing function:

    usage: install_searx_get_state

        Prompts a string indicating the status of the installation procedure

    missing-searx-clone:
       There is no clone at ${SEARX_SRC}
    missing-searx-pyenv:
       There is no pyenv in ${SEARX_PYENV}
    installer-modified:
       There are files modified locally in the installer (clone),
       see ${SEARX_SRC_INIT_FILES} description.
    python-installed:
       Scripts can be executed in instance's environment
       - user:  ${SERVICE_USER}
       - pyenv: ${SEARX_PYENV}

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
..
templates [mod] normalize .config.sh with settings.yml 3 years ago
brand.env [fix] utils/build_env.py and add documentation 3 years ago
build_env.py [fix] utils/build_env.py and add documentation 3 years ago
filtron.sh [mod] normalize .config.sh with settings.yml 3 years ago
lib.sh [mod] load .config.sh from installation (utils/lib_install.sh) 3 years ago
lib_install.sh [mod] normalize .config.sh with settings.yml 3 years ago
lib_static.sh [mod] move functions from utils/manage_static.sh to ./manage script 3 years ago
lxc-searx.env [mod] LXC switch to Fedora 33 / Fedora 31 reached its EOL 4 years ago
lxc.sh [fix] pacman --noprogressbar in shell scripts 3 years ago
makefile.include [mod] replace makefile boilerplate by 'manage' script 3 years ago
makefile.lxc [mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env 4 years ago
morty.sh [mod] normalize .config.sh with settings.yml 3 years ago
searx.sh [mod] utils/.searx.sh: add commands: install [dot-config|init-src] 3 years ago