From: Michael Prokop Date: Sun, 11 Nov 2007 10:50:48 +0000 (+0100) Subject: Really add remove_isos :) X-Git-Tag: 0.0.9~15 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=36d695ba5e166bf4f9804db7d049c969573c3ab2 Really add remove_isos :) --- diff --git a/buildd/remove_isos.sh b/buildd/remove_isos.sh new file mode 100755 index 0000000..abb3efb --- /dev/null +++ b/buildd/remove_isos.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# Filename: /usr/share/grml-live/buildd/remove_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. +# Latest change: Sun Nov 11 11:45:45 CET 2007 [mika] +################################################################################ + +. /etc/grml/grml-buildd.conf || exit 1 +[ -n "$ISO_DIR" ] || exit 2 + +cd $ISO_DIR || exit 3 + +for file in *.iso ; do + rm -f "$file" + rm -f "${file}".md5 +done + +## END OF FILE #################################################################