[Updated]: euphoria-install.sh: added shorthand versions of options and changed 'uninstall' to 'remove'

This commit is contained in:
mollusk 2016-07-26 07:52:51 -07:00
parent 0bcaa92f6e
commit 7ff150fe89

View File

@ -134,7 +134,7 @@ remove_tmp(){
fi fi
} }
case $1 in case $1 in
install) install | i)
check_root check_root
check_deps check_deps
check_install check_install
@ -143,11 +143,11 @@ case $1 in
install_build install_build
post_install post_install
;; ;;
uninstall) remove | r)
check_root check_root
uninstall_pkg uninstall_pkg
;; ;;
clean) clean | c)
remove_tmp remove_tmp
;; ;;
*) *)
@ -157,9 +157,9 @@ clean)
[OPTIONS] [OPTIONS]
install Install ${name}-${version} install | i Install ${name}-${version}
uninstall Uninstall ${name}-${version} remove | r Uninstall ${name}-${version}
clean Clear out ${name} downloads in ${tmpdir} clean | c Clear out ${name} downloads in ${tmpdir}
""" """
;; ;;