X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=buildd%2Fupload_isos.sh;h=04e3cea315e7b4ea73918ea05454f2c18acd09c0;hb=807994a1547850c9829d84d9214bcbd015b889cb;hp=6166077c3bf0ff9705a62c29f1caf3053b7b6747;hpb=dc7d851927755053cdaefd3b752dc989712fecd0;p=grml-live.git diff --git a/buildd/upload_isos.sh b/buildd/upload_isos.sh index 6166077..04e3cea 100755 --- a/buildd/upload_isos.sh +++ b/buildd/upload_isos.sh @@ -14,14 +14,23 @@ cd $ISO_DIR || exit 4 umask 002 for file in *.iso ; do - [ -f "${file}.md5" ] || md5sum "$file" > "${file}".md5 - chmod 664 "$file" - chmod 664 "${file}".md5 + [ -f "${file}.md5" ] || md5sum "$file" > "${file}".md5 + [ -f "${file}.sha1" ] || sha1sum "$file" > "${file}".sha1 + chmod 664 "${file}" "${file}".md5 "${file}".sha1 done -for flavour in grml-small_lenny grml-small_sid grml-medium_lenny grml-medium_sid grml_sid grml_lenny \ - grml64-small_lenny grml64-small_sid grml64-medium_lenny grml64-medium_sid grml64_sid grml64_lenny ; do - rsync --times --partial -az --quiet $flavour* $RSYNC_MIRROR/$flavour/ +for distri in lenny squeeze sid ; do + for flavour in grml-small_$distri grml-medium_$distri grml_$distri \ + grml64-small_$distri grml64-medium_$distri grml64_$distri ; do + if ls $flavour* 1>/dev/null 2>&1 ; then + rsync --times --partial -az --quiet $flavour* $RSYNC_MIRROR/$flavour/ + fi + done done +#for flavour in grml-small_lenny grml-small_squeeze grml-small_sid grml-medium_lenny grml-medium_sid grml_sid grml_lenny \ +# grml64-small_lenny grml64-small_sid grml64-medium_lenny grml64-medium_sid grml64_sid grml64_lenny ; do +# rsync --times --partial -az --quiet $flavour* $RSYNC_MIRROR/$flavour/ +#done + ## END OF FILE #################################################################