From 0f9357ac2c1ca89ab1bda4090c10ddeff5efa071 Mon Sep 17 00:00:00 2001 From: Kaj Forney Date: Thu, 24 Jan 2019 14:07:16 -0700 Subject: [PATCH] Stop ParrotSec from overwriting our customizations. Former-commit-id: 9d0f9b93071f97eca14cda37a4a3ae8c3b32c794 Former-commit-id: 6285dd7d8a066ca42da8604a85e7fab1a550bac9 --- config/pentest-distro-builder.chroot | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/pentest-distro-builder.chroot b/config/pentest-distro-builder.chroot index cd81b279..0cdd367b 100644 --- a/config/pentest-distro-builder.chroot +++ b/config/pentest-distro-builder.chroot @@ -21,3 +21,16 @@ systemctl enable tor systemctl enable cockpit.socket systemctl enable xrdp systemctl disable firewalld + +#Distro-specific stuff +DISTRO=$(cat /etc/lsb-release | grep DISTRIB_ID | cut -c 12-30) + +case $DISTRO in +Parrot) +#Stop ParrotSec from overwriting all our desktop customizations every time parrot-skel updates. >:-( +apt-mark hold parrot-skel +;; +Kali) +;; +esac +