X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=buildd%2Fupload_isos.sh;fp=buildd%2Fupload_isos.sh;h=0000000000000000000000000000000000000000;hp=a18d3e3722e27e4c6932752379b3f5977febe6be;hb=fad3fb7c451a44e8ca146fbbb7785f333b40937b;hpb=39edd534899386337f2dc63282157b124bda3a2d diff --git a/buildd/upload_isos.sh b/buildd/upload_isos.sh deleted file mode 100755 index a18d3e3..0000000 --- a/buildd/upload_isos.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# Filename: /usr/share/grml-live/buildd/upload_isos.sh -# Purpose: upload grml ISOs to a rsync server -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2 or any later version. -################################################################################ - -. /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 - -umask 002 -for file in *.iso ; do - [ -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 $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 #################################################################