From 36d695ba5e166bf4f9804db7d049c969573c3ab2 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 11 Nov 2007 11:50:48 +0100 Subject: [PATCH] Really add remove_isos :) --- buildd/remove_isos.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 buildd/remove_isos.sh 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 ################################################################# -- 2.1.4