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