diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/lib.sh | 10 | ||||
-rwxr-xr-x | utils/lib_go.sh | 2 | ||||
-rwxr-xr-x | utils/lib_nvm.sh | 6 | ||||
-rwxr-xr-x | utils/lib_sxng_static.sh | 2 | ||||
-rwxr-xr-x | utils/lxc.sh | 10 | ||||
-rw-r--r-- | utils/templates/etc/searxng/settings.yml | 2 |
6 files changed, 16 insertions, 16 deletions
diff --git a/utils/lib.sh b/utils/lib.sh index 7e80b12f1..ead4b0c61 100755 --- a/utils/lib.sh +++ b/utils/lib.sh @@ -772,7 +772,7 @@ docs.clean() { docs.prebuild() { # Dummy function to run some actions before sphinx-doc build gets started. - # This finction needs to be overwritten by the application script. + # This function needs to be overwritten by the application script. true dump_return $? } @@ -1065,7 +1065,7 @@ nginx_remove_app() { # usage: nginx_remove_app <myapp.conf> info_msg "remove nginx app: $1" - nginx_dissable_app "$1" + nginx_disable_app "$1" rm -f "${NGINX_APPS_AVAILABLE}/$1" } @@ -1082,7 +1082,7 @@ nginx_enable_app() { nginx_reload } -nginx_dissable_app() { +nginx_disable_app() { # usage: nginx_disable_app <myapp.conf> @@ -1192,7 +1192,7 @@ apache_remove_site() { # usage: apache_remove_site <mysite.conf> info_msg "remove apache site: $1" - apache_dissable_site "$1" + apache_disable_site "$1" rm -f "${APACHE_SITES_AVAILABLE}/$1" } @@ -1222,7 +1222,7 @@ apache_enable_site() { apache_reload } -apache_dissable_site() { +apache_disable_site() { # usage: apache_disable_site <mysite.conf> diff --git a/utils/lib_go.sh b/utils/lib_go.sh index 0b58fad61..06522f005 100755 --- a/utils/lib_go.sh +++ b/utils/lib_go.sh @@ -56,7 +56,7 @@ EOF go.ver_info(){ - # print informations about a golang distribution. To print filename + # print information about a golang distribution. To print filename # sha256 and size of the archive that fits to your OS and host: # # go.ver_info "${GO_VERSION}" archive "$(go.os)" "$(go.arch)" filename sha256 size diff --git a/utils/lib_nvm.sh b/utils/lib_nvm.sh index aaea5cd31..30f7781d7 100755 --- a/utils/lib_nvm.sh +++ b/utils/lib_nvm.sh @@ -36,7 +36,7 @@ nvm.is_installed() { } if [[ -z "${NVM_DIR}" ]]; then - # nvm is not pre-intalled in $HOME. Prepare for using nvm from <repo-root> + # nvm is not pre-installed in $HOME. Prepare for using nvm from <repo-root> NVM_DIR="$(git rev-parse --show-toplevel)/${NVM_LOCAL_FOLDER}" fi export NVM_DIR @@ -93,7 +93,7 @@ nvm.help() { nvm.: use nvm (without dot) to execute nvm commands directly install : install NVM locally at $(git rev-parse --show-toplevel)/${NVM_LOCAL_FOLDER} clean : remove NVM installation - status : prompt some status informations about nvm & node + status : prompt some status information about nvm & node nodejs : install Node.js latest LTS cmd ... : run command ... in NVM environment bash : start bash interpreter with NVM environment sourced @@ -108,7 +108,7 @@ nvm.install() { pushd "${NVM_DIR}" &> /dev/null git fetch --all | prefix_stdout " ${_Yellow}||${_creset} " else - # delete any leftovers from previos installations + # delete any leftovers from previous installations if nvm.is_local; then rm -rf "${NVM_DIR}" fi diff --git a/utils/lib_sxng_static.sh b/utils/lib_sxng_static.sh index 8271cc144..2f074b91e 100755 --- a/utils/lib_sxng_static.sh +++ b/utils/lib_sxng_static.sh @@ -96,7 +96,7 @@ static.build.commit() { return 1 fi - # drop existing commit from previos build + # drop existing commit from previous build static.build.drop &>/dev/null ( set -e diff --git a/utils/lxc.sh b/utils/lxc.sh index 6fdcfc9eb..f9daa51f5 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -159,7 +159,7 @@ main() { ;; copy) case $2 in - ''|images) lxc_copy_images_localy;; + ''|images) lxc_copy_images_locally;; *) usage "$_usage"; exit 42;; esac ;; @@ -167,7 +167,7 @@ main() { sudo_or_exit case $2 in ''|--|containers) remove_containers ;; - images) lxc_delete_images_localy ;; + images) lxc_delete_images_locally ;; ${LXC_HOST_PREFIX}-*) ! lxc_exists "$2" && warn_msg "container not yet exists: $2" && exit 0 if ask_yn "Do you really want to delete container $2"; then @@ -291,7 +291,7 @@ build_all_containers() { rst_title "Build all LXC containers of suite" echo usage_containers - lxc_copy_images_localy + lxc_copy_images_locally lxc_init_all_containers lxc_config_all_containers lxc_boilerplate_all_containers @@ -361,7 +361,7 @@ remove_containers() { # images # ------ -lxc_copy_images_localy() { +lxc_copy_images_locally() { rst_title "copy images" section for ((i=0; i<${#LXC_SUITE[@]}; i+=2)); do lxc_image_copy "${LXC_SUITE[i]}" "${LXC_SUITE[i+1]}" @@ -369,7 +369,7 @@ lxc_copy_images_localy() { # lxc image list local: && wait_key } -lxc_delete_images_localy() { +lxc_delete_images_locally() { rst_title "Delete LXC images" rst_para "local existing images" echo diff --git a/utils/templates/etc/searxng/settings.yml b/utils/templates/etc/searxng/settings.yml index fbd935b0a..be79810b1 100644 --- a/utils/templates/etc/searxng/settings.yml +++ b/utils/templates/etc/searxng/settings.yml @@ -33,7 +33,7 @@ ui: enabled_plugins: - 'Hash plugin' - - 'Self Informations' + - 'Self Information' - 'Tracker URL remover' - 'Ahmia blacklist' # - 'Hostnames plugin' # see 'hostnames' configuration below |