Really add remove_isos :)
authorMichael Prokop <devnull@localhost>
Sun, 11 Nov 2007 10:50:48 +0000 (11:50 +0100)
committerMichael Prokop <devnull@localhost>
Sun, 11 Nov 2007 10:50:48 +0000 (11:50 +0100)
buildd/remove_isos.sh [new file with mode: 0755]

diff --git a/buildd/remove_isos.sh b/buildd/remove_isos.sh
new file mode 100755 (executable)
index 0000000..abb3efb
--- /dev/null
@@ -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 <mika@grml.org>
+# 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 #################################################################