From 73084dcb46522d4074cf03901442c3247f2f1428 Mon Sep 17 00:00:00 2001 From: Teja Swaroop Pothala Date: Thu, 31 Oct 2024 23:04:06 +0530 Subject: [PATCH] Ignored installing software-properties-common for kali-rolling --- src/ubuntu/install/tools/install_tools.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ubuntu/install/tools/install_tools.sh b/src/ubuntu/install/tools/install_tools.sh index eb358bf..85cf56e 100644 --- a/src/ubuntu/install/tools/install_tools.sh +++ b/src/ubuntu/install/tools/install_tools.sh @@ -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