Set shared/default-x-server via debconf to work around #448863
[grml-live.git] / buildd / upload_isos.sh
index 9755452..25a33fd 100755 (executable)
@@ -1,15 +1,17 @@
 #!/bin/sh
-# Filename:      /usr/share/grml-live/buildd/buildd/upload_isos.sh
+# Filename:      /usr/share/grml-live/buildd/upload_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: Mon Oct 22 19:11:33 CEST 2007 [mika]
+# Latest change: Mon Oct 22 19:50:36 CEST 2007 [mika]
 ################################################################################
 
-. /usr/share/grml-live/buildd/buildd/functions.sh || exit 1
+. /etc/grml/grml-buildd.conf || exit 1
 [ -n "$RSYNC_MIRROR" ] || exit 2
-cd $ISO_DIR || exit 3
+[ -n "$ISO_DIR" ] || exit 3
+
+cd $ISO_DIR || exit 4
 
 umask 002
 for file in *.iso ; do