]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fixing orig/dest on ecryptfs-home's rsync
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 9 Jul 2013 15:04:26 +0000 (12:04 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 9 Jul 2013 15:04:26 +0000 (12:04 -0300)
share/hydractl/ecryptfs-home

index 2719d7bc7e28eeb5cfa68c1082e737a99fb184d0..eb1db24c252c04a4461999c264b0bb3f90788fd7 100755 (executable)
@@ -94,7 +94,7 @@ if [ ! -z "$SERVER" ]; then
 
   echo "Syncing files from $USER's home on $SERVER..."
   rsync -avz --exclude=.ecryptfs --exclude=.Private --exclude=.unison \
-        /home/$USER/ $SERVER:/home/$USER/
+        $SERVER:/home/$USER/ /home/$USER/
 fi
 
 # Final recommendation