summaryrefslogtreecommitdiff
path: root/debian/itzks-systems-workstation.postinst
blob: 3fb3068a5624d96474771f9854d3f618d3c46f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -e

#DEBHELPER#

# we once shipped /etc/skell in itzks-systems-workstation, bad idea!
if [ "$1" = "configure" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "2020.02.10.2"; then
	rm -Rfv /etc/skel/Netzwerkordner
	test -d /etc/skel/Desktop && rmdir -p --ignore-fail-on-non-empty /etc/skel/Desktop || true
	test -d /etc/skel/.mozilla && rmdir -p --ignore-fail-on-non-empty /etc/skel/.mozilla || true
	test -d /etc/skel/.pki && rmdir -p --ignore-fail-on-non-empty /etc/skel/.pki || true
fi