Merge pull request #1 from DefKorns/minor-change

added apt update to prevent error installing unzip
This commit is contained in:
Sthopeless
2022-01-25 17:23:00 +01:00
committed by GitHub

View File

@ -113,6 +113,7 @@ if [[ $FILE == *.zip ]]; then
echo -e "\e[1;33m Checking for unzip command... \e[0m"
if ! command -v unzip &> /dev/null; then
echo -e "\e[1;33m unzip not found, installing... \e[0m"
apt update
apt install unzip -y
fi
fi