]> git.notmuchmail.org Git - notmuch/blobdiff - debian/notmuch-emacs.postinst
lib: optionally silence Xapian deprecation warnings
[notmuch] / debian / notmuch-emacs.postinst
index 48ecf231c354509f2247dcdb77ad6aab53f1078e..1237237de5791ecdf641140218a96876af523561 100644 (file)
@@ -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