Ignored installing software-properties-common for kali-rolling

This commit is contained in:
Teja Swaroop Pothala 2024-10-31 23:04:06 +05:30
parent e74c0c79df
commit 73084dcb46
No known key found for this signature in database
GPG Key ID: E5F3829663E6A4B2

View File

@ -34,7 +34,13 @@ else
apt-get update apt-get update
# Update tzdata noninteractive (otherwise our script is hung on user input later). # Update tzdata noninteractive (otherwise our script is hung on user input later).
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata 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" echo "generate locales for en_US.UTF-8"
locale-gen en_US.UTF-8 locale-gen en_US.UTF-8