From: Simon Ruderich Date: Mon, 15 Oct 2012 20:29:12 +0000 (+0200) Subject: setup.sh: Fix GNU screen Git check. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=9d8a67ce233b2f76256fe3f1127232ad540ff865;p=config%2Fdotfiles.git setup.sh: Fix GNU screen Git check. Broken in 6b3da4f032ce15fb6d8557e72b0e6611e2476e59. --- diff --git a/setup.sh b/setup.sh index cc77d54..55efa84 100755 --- a/setup.sh +++ b/setup.sh @@ -89,7 +89,7 @@ fi # I use some features of GNU screen which are only in Git or very recent GNU # screen versions. Drop them on machines which have older versions. They are # marked as "(GIT)". -if test -d "$HOME/development/shell/screen"; then +if test ! -d "$HOME/development/shell/screen"; then echo screenrc: removing Git features grep -v '(GIT)' screenrc > screenrc.tmp mv screenrc.tmp screenrc