for file in $REMOVE_ME ; do
test -f ${file} && rm -f $file
# ... but keep their md5sum / sha1sum:
- test -f ${file}.md5 && mv ${file}.md5 .archive
+ test -f ${file}.md5 && mv ${file}.md5 .archive
test -f ${file}.sha1 && mv ${file}.sha1 .archive
done
# http://bts.grml.org/grml/issue814
name=$(awk '{print $2}' "${ISO}".md5)
sed "s/$name/$latest/" "${ISO}".md5 > "${latest}".md5
+ name=$(awk '{print $2}' "${ISO}".sha1)
+ sed "s/$name/$latest/" "${ISO}".sha1 > "${latest}".sha1
echo "$ISO" >> "$DAILY_DIR"/.timestamp_link
fi
done