summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-10-22 20:11:39 +0200
committerErich Eckner <git@eckner.net>2016-10-22 20:11:39 +0200
commit72d226aa86d0665e4072239add0b225844dc1e92 (patch)
tree881211bb11f25f126c19ffed57bc33bc26241303
parente8380a04516e3a47db7280561aaea7c65a9f459d (diff)
downloadhardlinkedBackups-72d226aa86d0665e4072239add0b225844dc1e92.tar.xz
backupStatistics stage 5 zeigt nun immer an, was es tut
-rw-r--r--backupStatistics.in7
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