summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
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.