Ignored installing software-properties-common for kali-rolling in release/1.15.0

This commit is contained in:
Teja Swaroop Pothala 2024-11-01 18:35:17 +05:30
parent 10fc0ebd20
commit 0c6b7e980b
No known key found for this signature in database
GPG Key ID: E5F3829663E6A4B2

View File

@ -33,7 +33,13 @@ else
apt-get update
# Update tzdata noninteractive (otherwise our script is hung on user input later).
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
# software-properties is removed from kali-rolling
if grep -q "kali-rolling" /etc/os-release; then
apt-get install ${PARROTEXTRA} -y vim wget net-tools locales bzip2 wmctrl mesa-utils bc
else
apt-get install ${PARROTEXTRA} -y vim wget net-tools locales bzip2 wmctrl software-properties-common mesa-utils bc
fi
echo "generate locales for en_US.UTF-8"
locale-gen en_US.UTF-8