mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
debian: fix typo in postinst (Debian bug 740325), clean up empty directory
Try to remove the directory /0755 ; if that fails assume it has something in it to preserve.
This commit is contained in:
parent
c35dcb7704
commit
7b0d53a906
2 changed files with 11 additions and 1 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
|||
notmuch (0.17-5) unstable; urgency=medium
|
||||
|
||||
* Bug fix: "unowned directory after purge: /0755/", thanks to
|
||||
Andreas Beckmann (Closes: #740325).
|
||||
|
||||
-- David Bremner <bremner@debian.org> Mon, 03 Mar 2014 07:29:06 -0400
|
||||
|
||||
notmuch (0.17-4) unstable; urgency=medium
|
||||
|
||||
* Bug fix: "Please update ruby binary extension install path",
|
||||
|
|
5
debian/notmuch-emacs.postinst
vendored
5
debian/notmuch-emacs.postinst
vendored
|
@ -1,4 +1,7 @@
|
|||
dir="/var/lib/emacsen-common/state/package/installed"
|
||||
mkdir -p 0755 ${dir}
|
||||
mkdir -p -m 0755 ${dir}
|
||||
touch ${dir}/notmuch-emacs
|
||||
#DEBHELPER#
|
||||
if [ -d /0755 ]; then
|
||||
rmdir /0755 || true
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue