mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 05:09:17 +02:00
bash scripts: source code cleaned up (shellcheck)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
ebde9d10fd
commit
67afa6b1fb
2 changed files with 5 additions and 15 deletions
|
@ -580,13 +580,6 @@ EOF
|
|||
|
||||
set_result_proxy() {
|
||||
info_msg "try to set result proxy ..."
|
||||
local line
|
||||
local stage=0
|
||||
local url=" url: $1"
|
||||
local key=" key: $2"
|
||||
if [[ -z $2 ]]; then
|
||||
key=
|
||||
fi
|
||||
cp "${SEARX_SETTINGS_PATH}" "${SEARX_SETTINGS_PATH}.bak"
|
||||
_set_result_proxy "$1" "$2" > "${SEARX_SETTINGS_PATH}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue