2 # Filename: /usr/share/grml-live/buildd/upload_isos.sh
3 # Purpose: upload grml ISOs to a rsync server
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 # Latest change: Mon Oct 22 19:50:36 CEST 2007 [mika]
8 ################################################################################
10 . /etc/grml/grml-buildd.conf || exit 1
11 [ -n "$RSYNC_MIRROR" ] || exit 2
12 [ -n "$ISO_DIR" ] || exit 3
17 for file in *.iso ; do
18 [ -f "${file}.md5" ] || md5sum $file > ${file}.md5
22 rsync --partial -az --quiet $ISO_DIR/* $RSYNC_MIRROR
24 ## END OF FILE #################################################################