X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=buildd%2Fremove_isos.sh;fp=buildd%2Fremove_isos.sh;h=abb3efb84ad2df6fc5df87c1d86f776c120d402d;hb=36d695ba5e166bf4f9804db7d049c969573c3ab2;hp=0000000000000000000000000000000000000000;hpb=e86a1d8f66ecb9d6f57410ffc6c6dee1b2ccfdcb;p=grml-live.git 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 #################################################################