0.6r1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
VERSION=0.6r0
|
||||
VERSION=0.6r1
|
||||
DEST=$1
|
||||
shift 1
|
||||
ORIG=$@
|
||||
@@ -9,9 +9,6 @@ if [[ -e ./lib/compressor.sh ]]; then . ./lib/compressor.sh; else . /usr/lib/lc
|
||||
if [[ -e ./lib/decompressor.sh ]]; then . ./lib/decompressor.sh; else . /usr/lib/lch/decompressor.sh; fi
|
||||
if [[ -e ./lib/installer.sh ]]; then . ./lib/installer.sh; else . /usr/lib/lch/installer.sh; fi
|
||||
|
||||
|
||||
# executer tar -cvf $DEST $ORIG
|
||||
|
||||
if [ "$DEST" = "--version" ] || [ "$DEST" = "-v" ]
|
||||
then
|
||||
echo "Linux Compression Humanized $VERSION"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
function get_dep(){
|
||||
# Busca la manera de capturar el error. Y mostrar mensaje en rojo.
|
||||
apt-get install -y $@ 1> /dev/null
|
||||
complete_install $@
|
||||
if [[ $@ == "p7zip-full" ]]; then complete_install 7z; else complete_install $@; fi
|
||||
}
|
||||
|
||||
# Run
|
||||
@@ -13,7 +13,6 @@ function get_dep(){
|
||||
echo -e "APT system detected"
|
||||
echo "---------------------"
|
||||
|
||||
|
||||
if [ $# -eq 1 ]; then
|
||||
if $PRIVSOFT; then
|
||||
rarInstall
|
||||
@@ -42,6 +41,4 @@ else
|
||||
esac
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# apt-get install -y tar bzip2 gzip zip unzip p7zip-full p7zip-rar 1> /dev/null
|
||||
fi
|
||||
Reference in New Issue
Block a user