forked from zaclys/searxng
[fix] utils/lib.sh: various typos in messages and comments
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
6316a8d49a
commit
bc7bd1d80a
|
@ -41,7 +41,7 @@ DOT_CONFIG="${DOT_CONFIG:-${REPO_ROOT}/.config.sh}"
|
||||||
|
|
||||||
source_dot_config() {
|
source_dot_config() {
|
||||||
if [[ ! -e "${DOT_CONFIG}" ]]; then
|
if [[ ! -e "${DOT_CONFIG}" ]]; then
|
||||||
err_msg "configuration does not extsts at: ${DOT_CONFIG}"
|
err_msg "configuration does not exists at: ${DOT_CONFIG}"
|
||||||
return 42
|
return 42
|
||||||
fi
|
fi
|
||||||
# shellcheck disable=SC1090
|
# shellcheck disable=SC1090
|
||||||
|
@ -159,7 +159,7 @@ clean_stdin() {
|
||||||
}
|
}
|
||||||
|
|
||||||
wait_key(){
|
wait_key(){
|
||||||
# usage: waitKEY [<timeout in sec>]
|
# usage: wait_key [<timeout in sec>]
|
||||||
|
|
||||||
clean_stdin
|
clean_stdin
|
||||||
local _t=$1
|
local _t=$1
|
||||||
|
@ -639,7 +639,7 @@ nginx_distro_setup() {
|
||||||
NGINX_DEFAULT_SERVER=/etc/nginx/nginx.conf
|
NGINX_DEFAULT_SERVER=/etc/nginx/nginx.conf
|
||||||
|
|
||||||
# Including *location* directives from a dedicated config-folder into the
|
# Including *location* directives from a dedicated config-folder into the
|
||||||
# server directive is, what what fedora and centos (already) does.
|
# server directive is, what fedora and centos (already) does.
|
||||||
NGINX_APPS_ENABLED="/etc/nginx/default.d"
|
NGINX_APPS_ENABLED="/etc/nginx/default.d"
|
||||||
|
|
||||||
# We add a apps-available folder and linking configurations into the
|
# We add a apps-available folder and linking configurations into the
|
||||||
|
@ -692,7 +692,7 @@ nginx_reload() {
|
||||||
|
|
||||||
nginx_install_app() {
|
nginx_install_app() {
|
||||||
|
|
||||||
# usage: nginx_install_app [<template option> ...] <myapp>
|
# usage: nginx_install_app [<template option> ...] <myapp.conf>
|
||||||
#
|
#
|
||||||
# <template option>: see install_template
|
# <template option>: see install_template
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue