updated ssh append status text

moveTools
Adam Veldhousen 9 years ago
parent f07e05243e
commit f8c49a017e
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -43,8 +43,8 @@ fi
echo ""
# a check to see if they're using a config file and if it has a host setup
if [[ -f "${dest}/.ssh/config" && -z $(cat "${dest}/.ssh/config" | grep "Host \*") ]]; then
echo "Applying ssh config"
# we copy it so that the config doesn't mess with the repo
echo "Appending ssh config"
# we append it so we don't destroy any custom settings they may have
cat "${source}/.ssh/config" >> "${dest}/.ssh/config"
elif [[ -z "${dest}/.ssh/config" ]]; then
echo "Copying new ssh config"

Loading…
Cancel
Save