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

This commit is contained in:
Teja Swaroop Pothala 2024-11-01 18:31:51 +05:30
parent d909e22336
commit 23a908e371
No known key found for this signature in database
GPG Key ID: E5F3829663E6A4B2

View File

@ -34,7 +34,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
apt-get install ${PARROTEXTRA} -y vim wget net-tools locales bzip2 wmctrl software-properties-common mesa-utils bc
# 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