[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] debian/debian-edu-config.postinst: Check for existence before removing directory
Wolfgang Schweer (@schweer-guest)
gitlab at salsa.debian.org
Wed Oct 20 15:46:27 BST 2021
Wolfgang Schweer pushed to branch master at Debian Edu / debian-edu-config
Commits:
b88e268e by Wolfgang Schweer at 2021-10-20T16:40:38+02:00
debian/debian-edu-config.postinst: Check for existence before removing directory
Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>
- - - - -
1 changed file:
- debian/debian-edu-config.postinst
Changes:
=====================================
debian/debian-edu-config.postinst
=====================================
@@ -169,7 +169,9 @@ configure)
if dpkg --compare-versions "$2" le "2.12.5" ; then
rm -f /etc/ldapscripts/*.cf-before-edit
rm -f /etc/smbldap-tools/*
- rmdir /etc/smbldap-tools
+ if -d /etc/smbldap-tools ; then
+ rmdir /etc/smbldap-tools
+ fi
fi
;;
esac
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/b88e268ed5da2b6a09e7f40d97123ef4a4f58075
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/b88e268ed5da2b6a09e7f40d97123ef4a4f58075
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20211020/7b390db6/attachment.htm>
More information about the debian-edu-commits
mailing list