From c1226ed0975a3640de91bb1ee289532db56e66e9 Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Tue, 21 Jan 2025 13:50:23 +0100 Subject: [PATCH] backup system only saves file when hashes do not match --- misc/backup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/backup.sh b/misc/backup.sh index faef261..f8eab6c 100755 --- a/misc/backup.sh +++ b/misc/backup.sh @@ -9,7 +9,6 @@ if grep -q $(sha256sum $file) backups/sum; then rm $file exit 0 fi -echo 'Writing new hash' echo $(sha256sum $file) > backups/sum exit 0