diff --git a/misc/backup.sh b/misc/backup.sh index 75ecac0..faef261 100755 --- a/misc/backup.sh +++ b/misc/backup.sh @@ -9,5 +9,7 @@ if grep -q $(sha256sum $file) backups/sum; then rm $file exit 0 fi +echo 'Writing new hash' +echo $(sha256sum $file) > backups/sum -echo $(sha256sum ) > backups/sum +exit 0