fix: Remove english shell dependency in manage.sh script

This commit is contained in:
Étienne Deparis 2019-01-07 12:20:57 +01:00
parent 3f93fe04d8
commit 7b9c8f777b

View File

@ -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"