lots of stuff lumped together
[distro-setup] / rootsshsync
index 9d9140af8ac75e39d4c1f599ddb2e8ca2c139fa6..5be639c8387d64e18d7d1cd70c683c9622a767ae 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 --delete $(eval echo ~${SUDO_USER:-$USER})/.ssh/ $dest
 chown -R root:root /root/.ssh