]> git.parisson.com Git - clone-me.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 11 Mar 2025 08:35:48 +0000 (09:35 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 11 Mar 2025 08:35:48 +0000 (09:35 +0100)
tc_clone_nuc_nv_efi.sh

index 903e58b7f50cbbeb6456c87afd5d85d0852e0b92..80fde3f8d70d3257426ecfb6b73e7e91307fce2b 100755 (executable)
@@ -84,9 +84,9 @@ if [ $SYNC ]; then
     echo "rsyncing root..."
 
     if [ $BACKUP ]; then
-        rsync -a --delete --one-file-system $MASTER:$ROOT/ $CLONE/
-    else
         rsync -a --delete --one-file-system $MASTER:$ROOT/root/ $CLONE/
+    else
+        rsync -a --delete --one-file-system $MASTER:$ROOT/ $CLONE/
     fi
 
     echo "rsyncing efi..."