Use --copy-links for rsync in upload_logs()
[grml-live.git] / buildd / remove_isos.sh
1 #!/bin/sh
2 # Filename:      /usr/share/grml-live/buildd/remove_isos.sh
3 # Purpose:       upload grml ISOs to a rsync server
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2 or any later version.
7 # Latest change: Sun Nov 11 11:45:45 CET 2007 [mika]
8 ################################################################################
9
10 . /etc/grml/grml-buildd.conf || exit 1
11 [ -n "$ISO_DIR" ] || exit 2
12
13 cd $ISO_DIR || exit 3
14
15 for file in *.iso ; do
16     rm -f "$file"
17     rm -f "${file}".md5
18 done
19
20 ## END OF FILE #################################################################