This commit is contained in:
Gustavo Adolfo Mesa Roldán
2020-10-03 11:42:11 +02:00
parent 832718e391
commit c394876fcb
3 changed files with 39 additions and 23 deletions
+6 -6
View File
@@ -11,13 +11,13 @@ function rarInstall(){
RAR_URL="https://www.rarlab.com/rar/rarlinux-5.9.1.tar.gz"
RAR_FILE="rarlinux-5.9.1.tar.gz"
fi
wget $RAR_URL
tar -zxvf $RAR_FILE
wget -q $RAR_URL > /dev/null
tar -zxvf $RAR_FILE > /dev/null
cd rar
cp -v rar unrar /usr/local/bin/
cp -v rar unrar /usr/local/bin/ > /dev/null
cd ..
rm -r rar $RAR_FILE
echo "rar/unrar installed."
rm -r rar $RAR_FILE > /dev/null
complete_install "rar"
else
echo -e "\n\e[91m[Error]\e[0m - wget is not installed, so rar could not be installed.\nPlease install wget.\n"
read -p "Press [ENTER] to continue installing or [CTRL+C] to exit."
@@ -79,5 +79,5 @@ function install()
echo -e "System installer not detected"
fi
echo -e "Dependencies installation finished\n"
echo -e "\nDependencies installation finished\n"
}