summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpks <pks@pks.rocks>2022-12-31 00:41:04 +0100
committerpks <pks@pks.rocks>2022-12-31 00:41:04 +0100
commitf38fcd23625a4f0c8ce941e88af95982724dba65 (patch)
tree11adcb79f985123f3f46535d40103ba24dd6f2bc
parentef743a2a6037426e734a347719704ae741beb603 (diff)
autostart: notmuchfs fixes
-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 \