mirror of
https://github.com/tildeclub/launcher.git
synced 2026-01-24 19:20:17 +00:00
update verify script case
This commit is contained in:
2
envs
2
envs
@@ -117,7 +117,7 @@ verify_script_name() {
|
||||
fi
|
||||
[[ -x /envs/bin/"$1" ]] && error_exit "$1 is already taken. rename your script and try again."
|
||||
case "$1" in
|
||||
help|about|description|desc|list|ls|submit|apropos|approve|revoke)
|
||||
help|about|description|desc|list|ls|submit|apropos|approve|revoke|show|edit|get|set|unset)
|
||||
error_exit "$1 is a subcommand of envs. rename your script and try again.";;
|
||||
*)
|
||||
return;;
|
||||
|
||||
Reference in New Issue
Block a user