This commit is contained in:
Gustavo Adolfo Mesa Roldán
2020-10-03 11:59:47 +02:00
parent c394876fcb
commit 91cae2b675
2 changed files with 3 additions and 9 deletions
+2 -5
View File
@@ -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