diff options
author | David Bremner <david@tethera.net> | 2014-03-03 08:10:51 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-03-03 08:10:51 -0400 |
commit | 28d7544ae2adfe6467c6b64a3284f5ed13f81e1a (patch) | |
tree | e45af8ad8f0789b1b08f1044a500beec0c2808c0 /debian/notmuch-emacs.postinst | |
parent | c0cc47506fff1d486e0ffff60a58302943a3794e (diff) | |
parent | 7b0d53a9064161f2f0f4f88fefd64133d089222e (diff) |
Merge tag 'debian/0.17-5'
uploaded to unstable
Diffstat (limited to 'debian/notmuch-emacs.postinst')
-rw-r--r-- | debian/notmuch-emacs.postinst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/notmuch-emacs.postinst b/debian/notmuch-emacs.postinst index 48ecf231..1237237d 100644 --- a/debian/notmuch-emacs.postinst +++ b/debian/notmuch-emacs.postinst @@ -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 |