SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
shellcheck: minor fixes to support all dsitros
Markus Heiserf5f83b8a99a4
diff --git a/Makefile b/Makefileindex 822adb1ae..ac63842e1 100644--- a/Makefile+++ b/Makefile@@ -1,5 +1,5 @@# -*- coding: utf-8; mode: makefile-gmake -*--+.DEFAULT_GOAL=helpinclude ./.config.mkPYOBJECTS = searx@@ -104,6 +104,7 @@ test.pylint: pyenvinstall$(call cmd,pylint,searx/preferences.py)$(call cmd,pylint,searx/testing.py)+# ubu1604: uses shellcheck v0.3.7 (from 04/2015), no longer supported!test.sh:shellcheck -x utils/lib.shshellcheck -x utils/filtron.shdiff --git a/utils/lib.sh b/utils/lib.shindex 26a26d750..e13acca3e 100755--- a/utils/lib.sh+++ b/utils/lib.sh@@ -4,9 +4,9 @@# shellcheck disable=SC2059,SC1117# ubuntu, debian, arch, fedora ...-DIST_ID=$(source /etc/os-release; echo $ID);+DIST_ID=$(source /etc/os-release; echo "$ID");# shellcheck disable=SC2034-DIST_VERS=$(source /etc/os-release; echo $VERSION_ID);+DIST_VERS=$(source /etc/os-release; echo "$VERSION_ID");ADMIN_NAME="${ADMIN_NAME:-$(git config user.name)}"ADMIN_NAME="${ADMIN_NAME:-$USER}"