summaryrefslogtreecommitdiff
path: root/debian/itzks-systems-workstation.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/itzks-systems-workstation.postinst')
-rwxr-xr-xdebian/itzks-systems-workstation.postinst12
1 files changed, 12 insertions, 0 deletions
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
+