X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=buildd%2Fupload_isos.sh;h=a18d3e3722e27e4c6932752379b3f5977febe6be;hb=005cdc1ea39899e025f302f05e16fb93bb66fee9;hp=b622d5ffb07d28d601f3775a970adcdfe085a099;hpb=3e18610b1a0891ed43156c6874842050fed002e6;p=grml-live.git diff --git a/buildd/upload_isos.sh b/buildd/upload_isos.sh index b622d5f..a18d3e3 100755 --- a/buildd/upload_isos.sh +++ b/buildd/upload_isos.sh @@ -9,6 +9,7 @@ . /etc/grml/grml-buildd.conf || exit 1 [ -n "$RSYNC_MIRROR" ] || exit 2 [ -n "$ISO_DIR" ] || exit 3 +[ -n "$FLAVOURS" ] || exit 5 cd $ISO_DIR || exit 4 @@ -19,9 +20,10 @@ for file in *.iso ; do 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 +for flavour in $FLAVOURS; do + if ls $flavour* 1>/dev/null 2>&1 ; then rsync --times --partial -az --quiet $flavour* $RSYNC_MIRROR/$flavour/ + fi done ## END OF FILE #################################################################