diff options
Diffstat (limited to 'backupStatistics.in')
-rw-r--r-- | backupStatistics.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/backupStatistics.in b/backupStatistics.in index c9123ec..38bee6b 100644 --- a/backupStatistics.in +++ b/backupStatistics.in @@ -111,11 +111,10 @@ do_stage() then diff "${original}" "${kopie}" fi - if ${dummy} + echo "rm \"${kopie}\"" + echo "ln \"${original}\" \"${kopie}\"" + if ! ${dummy} then - echo "rm \"${kopie}\"" - echo "ln \"${original}\" \"${kopie}\"" - else rm "${kopie}" ln "${original}" "${kopie}" fi |