summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-09-27 17:01:00 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-09-27 18:32:14 +0200
commitba8959ad7c18ce4165d29b7a472d845bd96f4735 (patch)
tree70da2e25a94588348fd5e66890a4a9fceb9e1ff2 /utils
parent94c4cc126b16d4cd1653c410df63af4bc0a4e998 (diff)
[fix] typos / reported by @kianmeng in searx PR-3366
[PR-3366] https://github.com/searx/searx/pull/3366 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils')
-rw-r--r--utils/build_env.py2
-rwxr-xr-xutils/lib.sh10
-rwxr-xr-xutils/lib_nvm.sh2
-rwxr-xr-xutils/lxc.sh6
-rwxr-xr-xutils/searxng.sh4
-rw-r--r--utils/templates/etc/uwsgi/apps-archlinux/searxng.ini2
-rw-r--r--utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket2
-rw-r--r--utils/templates/etc/uwsgi/apps-available/searxng.ini2
-rw-r--r--utils/templates/etc/uwsgi/apps-available/searxng.ini:socket2
9 files changed, 16 insertions, 16 deletions
diff --git a/utils/build_env.py b/utils/build_env.py
index 709da681..f5c8ad97 100644
--- a/utils/build_env.py
+++ b/utils/build_env.py
@@ -38,7 +38,7 @@ brand_env = 'utils' + sep + 'brand.env'
# Some defaults in the settings.yml are taken from the environment,
# e.g. SEARXNG_BIND_ADDRESS (:py:obj:`searx.settings_defaults.SHEMA`). When the
-# 'brand.env' file is created these enviroment variables should be unset first::
+# 'brand.env' file is created these envirnoment variables should be unset first::
_unset = object()
for name, option in name_val:
diff --git a/utils/lib.sh b/utils/lib.sh
index 32db4752..a4e9e852 100755
--- a/utils/lib.sh
+++ b/utils/lib.sh
@@ -1011,8 +1011,8 @@ nginx_install_app() {
nginx_include_apps_enabled() {
- # Add the *NGINX_APPS_ENABLED* infrastruture to a nginx server block. Such
- # infrastruture is already known from fedora and centos, including apps (location
+ # Add the *NGINX_APPS_ENABLED* infrastructure to a nginx server block. Such
+ # infrastructure is already known from fedora and centos, including apps (location
# directives) from the /etc/nginx/default.d folder into the *default* nginx
# server.
@@ -1487,7 +1487,7 @@ _apt_pkg_info_is_updated=0
pkg_install() {
- # usage: TITEL='install foobar' pkg_install foopkg barpkg
+ # usage: TITLE='install foobar' pkg_install foopkg barpkg
rst_title "${TITLE:-installation of packages}" section
echo -e "\npackage(s)::\n"
@@ -1523,7 +1523,7 @@ pkg_install() {
pkg_remove() {
- # usage: TITEL='remove foobar' pkg_remove foopkg barpkg
+ # usage: TITLE='remove foobar' pkg_remove foopkg barpkg
rst_title "${TITLE:-remove packages}" section
echo -e "\npackage(s)::\n"
@@ -1662,7 +1662,7 @@ lxc_init_container_env() {
# usage: lxc_init_container_env <name>
# Create a /.lxcenv file in the root folder. Call this once after the
- # container is inital started and before installing any boilerplate stuff.
+ # container is initial started and before installing any boilerplate stuff.
info_msg "create /.lxcenv in container $1"
cat <<EOF | lxc exec "${1}" -- bash | prefix_stdout "[${_BBlue}${1}${_creset}] "
diff --git a/utils/lib_nvm.sh b/utils/lib_nvm.sh
index 6dc0f5ed..6297d286 100755
--- a/utils/lib_nvm.sh
+++ b/utils/lib_nvm.sh
@@ -20,7 +20,7 @@ NVM_LOCAL_FOLDER=.nvm
[[ -z "${NVM_GIT_URL}" ]] && NVM_GIT_URL="https://github.com/nvm-sh/nvm.git"
[[ -z "${NVM_MIN_NODE_VER}" ]] && NVM_MIN_NODE_VER="16.13.0"
-# initalize nvm environment
+# initialize nvm environment
# -------------------------
nvm.env() {
diff --git a/utils/lxc.sh b/utils/lxc.sh
index 418aea93..0a792b4b 100755
--- a/utils/lxc.sh
+++ b/utils/lxc.sh
@@ -108,7 +108,7 @@ show
:suite: show services of all (or <name>) containers from the LXC suite
:images: show information of local images
cmd
- use single qoutes to evaluate in container's bash, e.g.: 'echo \$(hostname)'
+ use single quotes to evaluate in container's bash, e.g.: 'echo \$(hostname)'
-- run command '...' in all containers of the LXC suite
:<name>: run command '...' in container <name>
install
@@ -179,7 +179,7 @@ main() {
lxc_delete_container "$2"
fi
;;
- *) usage "uknown or missing container <name> $2"; exit 42;;
+ *) usage "unknown or missing container <name> $2"; exit 42;;
esac
;;
start|stop)
@@ -191,7 +191,7 @@ main() {
info_msg "lxc $1 $2"
lxc "$1" "$2" | prefix_stdout "[${_BBlue}${i}${_creset}] "
;;
- *) usage "uknown or missing container <name> $2"; exit 42;;
+ *) usage "unknown or missing container <name> $2"; exit 42;;
esac
;;
show)
diff --git a/utils/searxng.sh b/utils/searxng.sh
index d9ecdcca..58f220e1 100755
--- a/utils/searxng.sh
+++ b/utils/searxng.sh
@@ -911,8 +911,8 @@ searxng.doc.rst() {
eval "echo \"$(< "${REPO_ROOT}/docs/build-templates/searxng.rst")\""
- # I use ubuntu-20.04 here to demonstrate that versions are also suported,
- # normaly debian-* and ubuntu-* are most the same.
+ # I use ubuntu-20.04 here to demonstrate that versions are also supported,
+ # normally debian-* and ubuntu-* are most the same.
for DIST_NAME in ubuntu-20.04 arch fedora; do
(
diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini
index c5b6fb70..bcc8f0c8 100644
--- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini
+++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini
@@ -28,7 +28,7 @@ disable-logging = true
# The right granted on the created socket
chmod-socket = 666
-# Plugin to use and interpretor config
+# Plugin to use and interpreter config
single-interpreter = true
# enable master process
diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket
index 404936e7..edaed23f 100644
--- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket
+++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket
@@ -28,7 +28,7 @@ disable-logging = true
# The right granted on the created socket
chmod-socket = 666
-# Plugin to use and interpretor config
+# Plugin to use and interpreter config
single-interpreter = true
# enable master process
diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini b/utils/templates/etc/uwsgi/apps-available/searxng.ini
index 10cfeb63..93be5d8a 100644
--- a/utils/templates/etc/uwsgi/apps-available/searxng.ini
+++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini
@@ -31,7 +31,7 @@ disable-logging = true
# The right granted on the created socket
chmod-socket = 666
-# Plugin to use and interpretor config
+# Plugin to use and interpreter config
single-interpreter = true
# enable master process
diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket
index 698529bf..b533386c 100644
--- a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket
+++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket
@@ -31,7 +31,7 @@ disable-logging = true
# The right granted on the created socket
chmod-socket = 666
-# Plugin to use and interpretor config
+# Plugin to use and interpreter config
single-interpreter = true
# enable master process