small fixes, add maru script
[distro-setup] / rootsshsync
index e962f19295b9b1918b70cd8f3ed48f788939fbef..9d9140af8ac75e39d4c1f599ddb2e8ca2c139fa6 100755 (executable)
@@ -28,5 +28,5 @@ else
 fi
 # -t times, so it won't rewrite the file every time,
 # -L resolve links
-rsync -rtL $(eval echo ~${SUDO_USER:-$USER})/.ssh $dest
+rsync -rtL $(eval echo ~${SUDO_USER:-$USER})/.ssh/ $dest
 chown -R root:root /root/.ssh