From: Simon Ruderich Date: Mon, 15 Apr 2013 22:08:31 +0000 (+0200) Subject: setup.sh: Only link ssh_config if ~/.ssh is owned by user. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=6de4a52bedfdf81e90186d9c4e100b56815ddad5;p=config%2Fdotfiles.git setup.sh: Only link ssh_config if ~/.ssh is owned by user. --- diff --git a/setup.sh b/setup.sh index 7bf7882..b1b14de 100755 --- a/setup.sh +++ b/setup.sh @@ -266,6 +266,6 @@ if installed htop; then mkdir -p ~/.config/htop link htoprc ~/.config/htop/htoprc fi -if test -d ~/.ssh; then +if test -d ~/.ssh && test -O ~/.ssh; then link ssh_config ~/.ssh/config fi