From 656289b02658bf12bdb930d2a89c745afa9bfd60 Mon Sep 17 00:00:00 2001 From: Matthew McClaskey Date: Fri, 24 Nov 2023 20:24:06 +0000 Subject: [PATCH] fix removal of ipp-usb when not installed --- src/ubuntu/install/cleanup/cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ubuntu/install/cleanup/cleanup.sh b/src/ubuntu/install/cleanup/cleanup.sh index cabf239..6ae1af8 100644 --- a/src/ubuntu/install/cleanup/cleanup.sh +++ b/src/ubuntu/install/cleanup/cleanup.sh @@ -10,7 +10,7 @@ elif [ "${DISTRO}" == "opensuse" ]; then zypper clean --all elif [[ "${DISTRO}" == @(debian|kali|parrotos5|ubuntu) ]]; then # Uninstall unneccesary/vulnerable packages - apt remove -y ipp-usb #KASM-5266 + dpkg --purge ipp-usb #KASM-5266 apt-get autoremove -y apt-get autoclean -y