[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
|
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}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user