Change the "uninstall" option name to "-u"
epsi-builds/msspec_python3/pipeline/head There was a failure building this commit
Details
epsi-builds/msspec_python3/pipeline/head There was a failure building this commit
Details
The script for dockerized MsSpec could be uninstalled with the "msspec uninstall" command whereas it is "msspec -u" for the non containered version. It is now "-u" for both scripts.
This commit is contained in:
parent
34d0e720f5
commit
dfa693dfb6
|
@ -16,7 +16,7 @@
|
|||
# along with this msspec. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Source file : utils/dockerized/linux/msspec
|
||||
# Last modified: Tue, 21 Sep 2021 17:52:10 +0200
|
||||
# Last modified: Wed, 22 Sep 2021 14:29:59 +0200
|
||||
# Committed by : sylvain tricot <sylvain.tricot@univ-rennes1.fr>
|
||||
|
||||
THIS_SCRIPT="$0"
|
||||
|
@ -131,7 +131,7 @@ Uninstall_MsSpecImage () {
|
|||
Show_Help () {
|
||||
echo "Usage: 1) msspec -p [PYTHON OPTIONS] SCRIPT [ARGUMENTS...]"
|
||||
echo " 2) msspec [-l FILE | -i | -h]"
|
||||
echo " 3) msspec [bash | reset | uninstall]"
|
||||
echo " 3) msspec [bash | reset]"
|
||||
echo ""
|
||||
echo "Form (1) is used to launch a script"
|
||||
echo "Form (2) is used to load a hdf5 data file"
|
||||
|
@ -152,14 +152,12 @@ Show_Help () {
|
|||
echo " reset This command removes the MsSpec container (but not the"
|
||||
echo " image). Changes made in the container will be lost and"
|
||||
echo " any new call to msspec will recreate a new fresh container."
|
||||
echo " uninstall This command will completely remove the MsSpec container,"
|
||||
echo " the image and this script."
|
||||
}
|
||||
|
||||
case $1 in
|
||||
reset) Remove_MsSpecContainer ;;
|
||||
uninstall) Uninstall_MsSpecImage ;;
|
||||
bash) Start_MsSpecContainer; Run_Bash ;;
|
||||
"-u") Uninstall_MsSpecImage ;;
|
||||
"-h"|"") Start_MsSpecContainer; Show_Help ;;
|
||||
*) Start_MsSpecContainer; Run_MsSpec "$@" ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue