[Updated]: euphoria-install.sh: added shorthand versions of options and changed 'uninstall' to 'remove'
This commit is contained in:
parent
0bcaa92f6e
commit
7ff150fe89
@ -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}
|
||||
|
||||
"""
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user