summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-04-29 14:33:47 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-04-29 14:33:47 +0200
commit5f1cba53378685d9a618e132afcef889a0682ef7 (patch)
tree000fb59c52d849f69989cdbac6e8967ccaf56fe5
parent7b9c8f777b9390fa915c365d785f07afd067f0e2 (diff)
downloadsearxng-5f1cba53378685d9a618e132afcef889a0682ef7.tar.gz
searxng-5f1cba53378685d9a618e132afcef889a0682ef7.zip
Revert "fix: Remove english shell dependency in manage.sh script"
This reverts commit 7b9c8f777b9390fa915c365d785f07afd067f0e2.
-rwxr-xr-xmanage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.sh b/manage.sh
index 6c609ec1e..a450c6dfd 100755
--- a/manage.sh
+++ b/manage.sh
@@ -270,6 +270,6 @@ Commands
"
}
-[ "$(sed -rn 's/^([^ ]+)\(\) \{$/\1/p' manage.sh | grep "$ACTION")" = "" ] \
+[ "$(command -V "$ACTION" | grep ' function$')" = "" ] \
&& help "action not found" \
|| "$ACTION" "$2"