[debian-edu-commits] debian-edu/ 22/30: more prerm fixes
Mike Gabriel
sunweaver at debian.org
Fri Oct 9 03:44:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch multi-distro-support
in repository educlient.
commit e49d171d623ffbe4b22b6d53ab2fc0566e02dba8
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Aug 25 19:30:09 2015 +0200
more prerm fixes
---
debian/educlient.prerm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/educlient.prerm b/debian/educlient.prerm
index de55a0e..f0bdfde 100755
--- a/debian/educlient.prerm
+++ b/debian/educlient.prerm
@@ -32,7 +32,11 @@ fi
cat /etc/debian-edu/educlient.files-* | while read file;
do
- if [ "$(dpkg-divert --listpackage /$i)" = "educlient" ]; then
+ if [ -z "$file" ]; then
+ continue
+ fi
+
+ if [ "$(dpkg-divert --listpackage $file)" = "educlient" ]; then
if [ -h "$file" ]; then
rm -f $file
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/educlient.git
More information about the debian-edu-commits
mailing list