From 6f7a5b1c0e91dd3e14b5c37210bf44de3930e672 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 10 Feb 2020 20:39:16 +0100 Subject: debian/itzks-systems-workstation.{postinst,maintscript}: Clean-up mess of having /etc/skel in workstation bin:pkg for a while. --- debian/itzks-systems-workstation.postinst | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 debian/itzks-systems-workstation.postinst (limited to 'debian/itzks-systems-workstation.postinst') diff --git a/debian/itzks-systems-workstation.postinst b/debian/itzks-systems-workstation.postinst new file mode 100755 index 0000000..616b1b4 --- /dev/null +++ b/debian/itzks-systems-workstation.postinst @@ -0,0 +1,12 @@ +#!/bin/bash + +#DEBHELPER# + +# we once shipped /etc/skell in itzks-systems-workstation, bad idea! +if dpkg --compare-versions "$2" lt "2020.02.10.2" ; then + rm -Rfv /etc/skel/Netzwerkordner + rmdir -p --ignore-if-not-empty /etc/skel/Desktop + rmdir -p --ignore-if-not-empty /etc/skel/.mozilla + rmdir -p --ignore-if-not-empty /etc/skel/.pki +fi + -- cgit v1.2.3