summaryrefslogtreecommitdiff
path: root/manage.sh
diff options
context:
space:
mode:
authorÉtienne Deparis <etienne@depar.is>2019-01-07 12:20:57 +0100
committerÉtienne Deparis <etienne@depar.is>2019-12-15 14:23:19 +0100
commit7b9c8f777b9390fa915c365d785f07afd067f0e2 (patch)
treec5c06011c7a7fd4602bc6fc8db85d495ac16f15c /manage.sh
parent3f93fe04d8c43191cc3bff51c9add1c35728c789 (diff)
downloadsearxng-7b9c8f777b9390fa915c365d785f07afd067f0e2.tar.gz
searxng-7b9c8f777b9390fa915c365d785f07afd067f0e2.zip
fix: Remove english shell dependency in manage.sh script
Diffstat (limited to 'manage.sh')
-rwxr-xr-xmanage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.sh b/manage.sh
index a450c6dfd..6c609ec1e 100755
--- a/manage.sh
+++ b/manage.sh
@@ -270,6 +270,6 @@ Commands
"
}
-[ "$(command -V "$ACTION" | grep ' function$')" = "" ] \
+[ "$(sed -rn 's/^([^ ]+)\(\) \{$/\1/p' manage.sh | grep "$ACTION")" = "" ] \
&& help "action not found" \
|| "$ACTION" "$2"