Linux Compressor Humanizer https://lch.hatthieves.es
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

35 lines
564 B

#!/usr/bin/env bash
# Function
function install(){
echo "$@:"
# Busca la manera de capturar el error. Y mostrar mensaje en rojo.
apt-get install -y $@ 1> /dev/null
echo "e[32mInstalled\e[0m"
}
# Run
echo -e "APT system detected"
echo $@
echo $1
echo $0
echo $PRIVSOFT
echo "----------"
install $2
if [ $# -eq 1 ]; then
install tar
install bzip2
install gzip
install zip
install unzip
install p7zip-full p7zip-rar
else
#Tropa
fi
# apt-get install -y tar bzip2 gzip zip unzip p7zip-full p7zip-rar 1> /dev/null