summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-07-06 19:51:46 -0700
committerBen Sima <ben@bsima.me>2020-07-07 11:32:23 -0700
commit38a6aae875f8eeb28e7774adcf319fd52178b900 (patch)
treed0a35d9a9e0a022fe24b4a958d7ec35e78fca5ba /install.sh
parent30a45d8aa3f346d77cbf71a0d1444150b2f763a9 (diff)
fixes for mac build
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 1e8d2a9..e6108b3 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.