diff --git a/install-files b/install-files index 8392485..8f2006e 100755 --- a/install-files +++ b/install-files @@ -6,12 +6,12 @@ function install_file() { source="${here}/$1" dest="${HOME}/$2" - if [ -f "$dest" ]; then + if [ -e "$dest" ]; then echo "Skipping $1" else echo "Installing $1" mkdir -p $(dirname "$dest") - cp "$source" "$dest" + ln -s "$source" "$dest" fi }