From f38fcd23625a4f0c8ce941e88af95982724dba65 Mon Sep 17 00:00:00 2001 From: pks Date: Sat, 31 Dec 2022 00:41:04 +0100 Subject: autostart: notmuchfs fixes --- autostart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'autostart') 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 \ -- cgit v1.2.3