[bamf] 05/07: debian/bamfdaemon.postrm: Attempt removal of /usr/share/applications/ (if empty). (Closes: #683757). Also remove bamf-2.index (not bamf.index) from /usr/share/applications.
Mike Gabriel
sunweaver at debian.org
Tue Aug 25 00:34:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository bamf.
commit 81d0718b6f1693b66945f7798e25bc199fdb3cb6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Aug 25 02:05:33 2015 +0200
debian/bamfdaemon.postrm: Attempt removal of /usr/share/applications/ (if empty). (Closes: #683757). Also remove bamf-2.index (not bamf.index) from /usr/share/applications.
---
debian/bamfdaemon.postrm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/bamfdaemon.postrm b/debian/bamfdaemon.postrm
index a283d16..1653759 100644
--- a/debian/bamfdaemon.postrm
+++ b/debian/bamfdaemon.postrm
@@ -2,7 +2,8 @@
set -e
if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
- rm -f /usr/share/applications/bamf.index
+ rm -f /usr/share/applications/bamf-2.index
+ rmdir --ignore-fail-on-non-empty /usr/share/applications
fi
#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/bamf.git
More information about the pkg-mate-commits
mailing list