diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-08 17:12:01 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-08 17:12:01 +0100 |
commit | 5c0f9c8c79f8eca72c206e2f9bb7c6d26bf80fa4 (patch) | |
tree | 00026623ae1a2c31d9c84781c53ac076ad086472 /utils/searx.sh | |
parent | db5815d3d8d4e1f5e1bbec4cabbc4ac322b4ad20 (diff) | |
download | searxng-5c0f9c8c79f8eca72c206e2f9bb7c6d26bf80fa4.tar.gz searxng-5c0f9c8c79f8eca72c206e2f9bb7c6d26bf80fa4.zip |
tooling box: varius fix from tests
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/searx.sh')
-rwxr-xr-x | utils/searx.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/searx.sh b/utils/searx.sh index f02066ea0..5eb16700b 100755 --- a/utils/searx.sh +++ b/utils/searx.sh @@ -224,12 +224,13 @@ update_searx() { rst_title "Update searx instance" echo - tee_stderr 0.1 <<EOF | sudo -H -u "${SERVICE_USER}" -i 2>&1 | prefix_stdout "$_service_prefix" + tee_stderr 0.3 <<EOF | sudo -H -u "${SERVICE_USER}" -i 2>&1 | prefix_stdout "$_service_prefix" cd ${SEARX_SRC} cp -f ${SEARX_SETTINGS} ${SEARX_SETTINGS}.backup git stash push -m "BACKUP -- 'update server' at ($(date))" -git checkout -b $SEARX_GIT_BRANCH" --track "$SEARX_GIT_BRANCH" -git pull "$SEARX_GIT_BRANCH" +git checkout -B "$SEARX_GIT_BRANCH" +git pull +cd ${SEARX_SRC} ${SEARX_SRC}/manage.sh update_packages EOF configure_searx |