From: Simon Ruderich Date: Sun, 17 Mar 2013 15:43:20 +0000 (+0100) Subject: setup.sh: Minor cleanup. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=bfa7b63c0d29b2a1d12e34a1814b431d9c898cf5;p=config%2Fdotfiles.git setup.sh: Minor cleanup. --- diff --git a/setup.sh b/setup.sh index 81cca76..f7c41b9 100755 --- a/setup.sh +++ b/setup.sh @@ -20,12 +20,12 @@ . ../lib.sh -if [ x`os` = xdarwin ]; then +if test x"`os`" = xdarwin; then # Sets a custom PATH for GUI applications. mkdir -p ~/.MacOSX link darwin/environment.plist ~/.MacOSX/environment.plist fi -if [ x`os` = xdebian ]; then +if test 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 #.