summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-02-10 22:15:56 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-02-10 22:15:56 +0100
commitdbb8ed222548a96f87701641a3c6d4cd93a7570d (patch)
tree64e9b5eccf012f1c4be0207718373985ce399b82
parent5f37a263e1356bdc3635c5be531fa942b6434ef8 (diff)
downloaditzks-systems-dbb8ed222548a96f87701641a3c6d4cd93a7570d.tar.gz
itzks-systems-dbb8ed222548a96f87701641a3c6d4cd93a7570d.tar.bz2
itzks-systems-dbb8ed222548a96f87701641a3c6d4cd93a7570d.zip
debian/itzks-systems-workstation.postinst: Use correct option with rmdir.
-rwxr-xr-xdebian/itzks-systems-workstation.postinst6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/itzks-systems-workstation.postinst b/debian/itzks-systems-workstation.postinst
index 616b1b4..db2fef3 100755
--- a/debian/itzks-systems-workstation.postinst
+++ b/debian/itzks-systems-workstation.postinst
@@ -5,8 +5,8 @@
# 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
+ rmdir -p --ignore-fail-on-non-empty /etc/skel/Desktop
+ rmdir -p --ignore-fail-on-non-empty /etc/skel/.mozilla
+ rmdir -p --ignore-fail-on-non-empty /etc/skel/.pki
fi