0.5r2 - Exit 0

This commit is contained in:
Gustavo Adolfo Mesa Roldán
2020-09-30 19:59:07 +02:00
parent a460d09a15
commit 0be7239088
5 changed files with 2 additions and 8 deletions
+2 -4
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERSION=0.5r1 VERSION=0.5r2
DEST=$1 DEST=$1
shift 1 shift 1
ORIG=$@ ORIG=$@
@@ -21,15 +21,12 @@ else
case $DEST in case $DEST in
"--help" | "-h") "--help" | "-h")
help help
exit 0
;; ;;
"--check" | "-c") "--check" | "-c")
check check
exit 0
;; ;;
"--install" | "-i") "--install" | "-i")
install $DEST $@ install $DEST $@
exit 0
;; ;;
*) *)
if [ -z "$DEST" ] if [ -z "$DEST" ]
@@ -50,4 +47,5 @@ else
fi fi
;; ;;
esac esac
exit 0
fi fi
-1
View File
@@ -37,5 +37,4 @@ function compressor()
esac esac
echo -e "\nDone" echo -e "\nDone"
exit 0
} }
-1
View File
@@ -37,5 +37,4 @@ function decompressor()
esac esac
echo -e "\nDone" echo -e "\nDone"
exit 0
} }
-1
View File
@@ -82,5 +82,4 @@ function install()
fi fi
echo -e "\nDependencies installation finished\n" echo -e "\nDependencies installation finished\n"
exit 0
} }
-1
View File
@@ -45,7 +45,6 @@ function check()
echo -e "\nIn order to use all the extensions install the packages: tar, bzip2, gzip, zip, unzip, 7za, rar, unrar" echo -e "\nIn order to use all the extensions install the packages: tar, bzip2, gzip, zip, unzip, 7za, rar, unrar"
fi fi
echo "" echo ""
exit 0
} }
function lowercase() function lowercase()