Better fix, which doesn't go over the net.

This commit is contained in:
Sven Luther 2005-09-20 15:10:06 +00:00
parent 25b483599a
commit 5aaa17f9fc
1 changed files with 6 additions and 2 deletions

View File

@ -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
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