Merge branch 'bugfix/KASM-6627-ignore_installing_software_properties_common_for_kali_rolling' into 'develop'

Ignored installing software-properties-common for kali-rolling

Closes KASM-6627

See merge request kasm-technologies/internal/workspaces-core-images!234
This commit is contained in:
Justin Travis 2024-11-05 16:54:41 +00:00
commit b5cc0eeba9

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
# 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 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