notmuch/debian/notmuch-emacs.postinst
David Bremner 7b0d53a906 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.
2014-03-03 07:39:54 -04:00

7 lines
165 B
Text

dir="/var/lib/emacsen-common/state/package/installed"
mkdir -p -m 0755 ${dir}
touch ${dir}/notmuch-emacs
#DEBHELPER#
if [ -d /0755 ]; then
rmdir /0755 || true
fi