From 5aaa17f9fcf2978a40df849f564d64b4ba321861 Mon Sep 17 00:00:00 2001 From: Sven Luther Date: Tue, 20 Sep 2005 15:10:06 +0000 Subject: [PATCH] Better fix, which doesn't go over the net. --- tools/boot/etch/boot-powerpc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/boot/etch/boot-powerpc b/tools/boot/etch/boot-powerpc index c317dcdf..a56d215e 100755 --- a/tools/boot/etch/boot-powerpc +++ b/tools/boot/etch/boot-powerpc @@ -16,8 +16,12 @@ CDDIR=$2 INSTALLDIR=$CDDIR/install if [ "$DI_WWW_HOME" = "default" ];then DI_WWW_HOME="http://people.debian.org/~luther/d-i/images/daily" - if [ -d "$DI_DIR" ];then - DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}" + if [ -n "$DI_DIR" ];then + if [ ! -d "$DI_DIR" ];then + DI_DIR="/org/gluck.debian.org/chroot/sid/home/luther/public_html/d-i/images/daily" + else + DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}" + fi DI_WWW_HOME="" fi fi