diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-10 20:39:16 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-10 20:39:16 +0100 |
commit | 6f7a5b1c0e91dd3e14b5c37210bf44de3930e672 (patch) | |
tree | 205b615e67edaa33ba34eb65351e4847f5c10446 /debian/itzks-systems-workstation.postinst | |
parent | 5ba6efb62ed4c7770d2bbe03a701c55f307278a5 (diff) | |
download | itzks-systems-6f7a5b1c0e91dd3e14b5c37210bf44de3930e672.tar.gz itzks-systems-6f7a5b1c0e91dd3e14b5c37210bf44de3930e672.tar.bz2 itzks-systems-6f7a5b1c0e91dd3e14b5c37210bf44de3930e672.zip |
debian/itzks-systems-workstation.{postinst,maintscript}: Clean-up mess of having /etc/skel in workstation bin:pkg for a while.
Diffstat (limited to 'debian/itzks-systems-workstation.postinst')
-rwxr-xr-x | debian/itzks-systems-workstation.postinst | 12 |
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 + |