summaryrefslogtreecommitdiff
path: root/autostart
diff options
context:
space:
mode:
Diffstat (limited to 'autostart')
-rwxr-xr-xautostart4
1 files changed, 3 insertions, 1 deletions
diff --git a/autostart b/autostart
index f4515da..db4f0f7 100755
--- a/autostart
+++ b/autostart
@@ -23,7 +23,9 @@ fi
if [[ -x $(which albert) ]]; then $(which albert); fi
-if [[ -x $(which notmuchfs) ]]; then
+if [[ -x $(which notmuchfs) || -x /home/pks/.local/bin/notmuchfs ]]; then
+ rmdir /tmp/pks/notmuchfs*/*
+ rmdir /tmp/pks/notmuchfs*
mkdir -p /tmp/pks/notmuchfs /tmp/pks/notmuchfs_backing
notmuchfs /tmp/pks/notmuchfs \
-o backing_dir=/tmp/pks/notmuchfs_backing \