From: Michael Prokop Date: Fri, 18 Mar 2011 11:01:23 +0000 (+0100) Subject: buildd: Finalize sha1sum support. X-Git-Tag: v0.13.2~11 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=a08d1d1423c19cd5faa088cd42cf55871cd6776b buildd: Finalize sha1sum support. --- diff --git a/buildd/cleanup.sh b/buildd/cleanup.sh index ef8b2b4..9ec7c31 100755 --- a/buildd/cleanup.sh +++ b/buildd/cleanup.sh @@ -37,7 +37,7 @@ done 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 diff --git a/buildd/link_latest.sh b/buildd/link_latest.sh index b968797..3e7345d 100755 --- a/buildd/link_latest.sh +++ b/buildd/link_latest.sh @@ -28,6 +28,8 @@ for flavour in grml-medium_squeeze grml-medium_wheezy grml-medium_sid grml # 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