Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

manage.sh : minor change

Alexec62e00df978
diff --git a/manage.sh b/manage.sh
index cf144f853..3bc77fec3 100755
--- a/manage.sh
+++ b/manage.sh
@@ -1,15 +1,17 @@
#!/bin/sh
BASE_DIR="$(dirname -- "`readlink -f -- "$0"`")"
-export PATH="$BASE_DIR/node_modules/.bin":$PATH
+
+cd -- "$BASE_DIR"
+set -e
+
+export PATH="$(npm bin)":$PATH
# subshell
PYTHONPATH="$BASE_DIR"
SEARX_DIR="$BASE_DIR/searx"
ACTION="$1"
-cd -- "$BASE_DIR"
-set -e
#
# Python