diff options
Diffstat (limited to 'skripti/download-changes-to-website.sh')
-rwxr-xr-x | skripti/download-changes-to-website.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skripti/download-changes-to-website.sh b/skripti/download-changes-to-website.sh index 2d5dce4..6059267 100755 --- a/skripti/download-changes-to-website.sh +++ b/skripti/download-changes-to-website.sh @@ -8,6 +8,6 @@ do t=`mktemp -p "" $n.XXX` wget -O$t $1 f=`sha256sum $t | cut -d\ -f1` - mv $t $f + [ -f $f ] && rm $t || mv $t $f sleep $s done |