X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=3515b06e5f7bde25d3d580b51d84a3a1d6d4a437;hb=a1e90e27a5789514fe148c4abe89ae1aa7048d26;hp=f64aa37c572a3a1b4217ae1917fea03aafbdf469;hpb=733df0002c03b0c503cb09b970c78a6dd54a4793;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index f64aa37..3515b06 100755 --- a/setup.sh +++ b/setup.sh @@ -2,7 +2,7 @@ # Setup script for miscellaneous configuration files. -# Copyright (C) 2009-2012 Simon Ruderich +# Copyright (C) 2009-2013 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,13 +18,14 @@ # along with this program. If not, see . -set -e +set -eu . ../lib.sh + # gdb, GNU debugger. if installed gdb; then - link gdbinit ~/.gdbinit + link gdb/gdbinit ~/.gdbinit fi # Powerful FTP client. @@ -37,6 +38,11 @@ if installed maxima; then link maxima ~/.maxima fi +# MySQL client. +if installed mysql; then + link mysql/my.cnf ~/.my.cnf +fi + # perlcritic to check Perl programs for common problems. if installed perlcritic; then link perl/perlcriticrc ~/.perlcriticrc