diff --git a/install.bash b/install.bash index 2fbab4e..228a044 100644 --- a/install.bash +++ b/install.bash @@ -158,9 +158,9 @@ deploy-config() { continue fi - log "info" "Copying ${GREEN}${install_key}${RESET_BOLD}, ${GREEN}${src_path}${RESET_BOLD} to ${GREEN}${dest_path}${RESET_BOLD}" - if ! cp -r "${src_path}" "${dest_path}"; then - log "error" "Failed copying ${GREEN}${install_key}${RESET_BOLD}, ${GREEN}${src_path}${RESET_BOLD} to ${GREEN}${dest_path}${RESET_BOLD}" + log "info" "Linking ${GREEN}${install_key}${RESET_BOLD}, ${GREEN}${src_path}${RESET_BOLD} to ${GREEN}${dest_path}${RESET_BOLD}" + if ! ln -s "${src_path}" "${dest_path}"; then + log "error" "Failed linking ${GREEN}${install_key}${RESET_BOLD}, ${GREEN}${src_path}${RESET_BOLD} to ${GREEN}${dest_path}${RESET_BOLD}" return 1 fi done