From: Simon Ruderich Date: Sat, 13 Mar 2010 22:01:19 +0000 (+0100) Subject: setup.sh: Be more compatible. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=cc00d2d0a986a4ea9b3ef2931a435a0dd267eff0;p=config%2Fdotfiles.git setup.sh: Be more compatible. --- diff --git a/setup.sh b/setup.sh index 66a7001..ed38567 100755 --- a/setup.sh +++ b/setup.sh @@ -5,12 +5,12 @@ . ../lib.sh -if [ `os` = darwin ]; then +if [ x`os` = xdarwin ]; then # Sets a custom PATH for GUI applications. mkdir -p ~/.MacOSX link darwin/environment.plist ~/.MacOSX/environment.plist fi -if [ `os` = debian ]; then +if [ x`os` = xdebian ]; then # Necessary as aptitude rewrites the config file on every start. generate cat debian/aptitude/config .real # aptitude/config uses // as comment instead of #.