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