added apt update to prevent erorr installing unzip
This commit is contained in:
parent
09b3a7502f
commit
77a64284bf
@ -113,6 +113,7 @@ if [[ $FILE == *.zip ]]; then
|
|||||||
echo -e "\e[1;33m Checking for unzip command... \e[0m"
|
echo -e "\e[1;33m Checking for unzip command... \e[0m"
|
||||||
if ! command -v unzip &> /dev/null; then
|
if ! command -v unzip &> /dev/null; then
|
||||||
echo -e "\e[1;33m unzip not found, installing... \e[0m"
|
echo -e "\e[1;33m unzip not found, installing... \e[0m"
|
||||||
|
apt update
|
||||||
apt install unzip -y
|
apt install unzip -y
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user