tooling box: varius fix from tests

This commit is contained in:
Markus Heiser 2020-02-08 13:24:08 +01:00
parent c8212b9f4d
commit ed4cb4f160
3 changed files with 5 additions and 4 deletions

View file

@ -235,9 +235,9 @@ EOF
configure_searx
rst_title "${SEARX_SETTINGS}" section
rstBlock 'Diff between new setting file (<) and backup (>):'
rst_para 'Diff between new setting file (<) and backup (>):'
echo
diff "$SEARX_SETTINGS}" "${SEARX_SETTINGS}.backup"
$DIFF_CMD "${SEARX_SETTINGS}" "${SEARX_SETTINGS}.backup"
local action
choose_one action "What should happen to the settings file? " \
@ -438,7 +438,7 @@ deactivate_service() {
git_diff() {
sudo -H -u "${SERVICE_USER}" -i <<EOF
cd ${SEARX_REPO_FOLDER}
cd ${SEARX_SRC}
git --no-pager diff
EOF
}