From 98933de8327fe9adda203f2da74d9ad35c117bb7 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 27 Nov 2020 15:49:51 -0800 Subject: fix symlink detection --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e6108b3..1e8d2a9 100755 --- a/install.sh +++ b/install.sh @@ -20,7 +20,7 @@ NIXFILE="$(pwd)/$1" # override with a symlink. # mkdir -p ~/.config/notmuch -[[ ! -e ~/.notmuch-config ]] || ln -s ~/.config/notmuch/notmuchrc ~/.notmuch-config +[[ -e ~/.notmuch-config ]] || ln -s ~/.config/notmuch/notmuchrc ~/.notmuch-config # # symlinking must occur before initial generation. now we can install, and # pin our own nixpkgs. -- cgit v1.2.3