Revert "fix: Remove english shell dependency in manage.sh script"
This reverts commit 7b9c8f777b9390fa915c365d785f07afd067f0e2.
commit5f1cba53378685d9a618e132afcef889a0682ef7
authorMarkus Heiser <markus.heiser@darmarit.de>
dateWed 29 Apr 2020, 14:33 (6 years ago)
parent7b9c8f7
manage.sh+1−1
@@ -270,6 +270,6 @@ Commands
270270"
271271}
272272
273−[ "$(sed -rn 's/^([^ ]+)\(\) \{$/\1/p' manage.sh | grep "$ACTION")" = "" ] \
273+[ "$(command -V "$ACTION" | grep ' function$')" = "" ] \
274274 && help "action not found" \
275275 || "$ACTION" "$2"