X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=6a980a346d90661237a8366713f74f50c17e34a6;hb=67bdeb0a3abdd2ebd51e68b5d157e26f90b84849;hp=2e4ba5afd9a6d09bb67eaaf346427886888f1822;hpb=e7ae86e52ffd85a57a0f8c5d295548bdf28b68d7;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 2e4ba5a..6a980a3 100755 --- a/setup.sh +++ b/setup.sh @@ -18,6 +18,8 @@ # along with this program. If not, see . +set -e + . ../lib.sh if installed stumpwm; then @@ -49,10 +51,10 @@ if installed X; then sed 's/^#/!/' Xdefaults > Xdefaults.tmp mv Xdefaults.tmp Xdefaults - if [ x`os` != xdarwin ]; then + if test ! "x`os`" = xdarwin; then link xinitrc ~/.xinitrc fi - if [ -f xinitrc.local ]; then + if test -f xinitrc.local; then link xinitrc.local ~/.xinitrc.local fi link xmodmaprc ~/.xmodmaprc