Trivial code consistency cleanups
This commit is contained in:
parent
96563554ee
commit
3e0309bc85
|
@ -16,6 +16,9 @@ set -e
|
|||
N=$1
|
||||
CDDIR=$2
|
||||
if [ "$DI_WWW_HOME" = "default" ];then
|
||||
# Tempting as it might be to merge these two definitions using $ARCH,
|
||||
# do *not* do that - these defs are parsed out by other scripts that
|
||||
# won't cope with that
|
||||
if [ "$ARCH" = armel ]; then
|
||||
DI_WWW_HOME="http://d-i.debian.org/daily-images/armel/daily"
|
||||
else
|
||||
|
|
|
@ -35,12 +35,12 @@ if [ "$DI_WWW_HOME" = "default" ];then
|
|||
# Tempting as it might be to merge these two definitions using $ARCH,
|
||||
# do *not* do that - these defs are parsed out by other scripts that
|
||||
# won't cope with that
|
||||
if [ "$ARCH" = s390x ]; then
|
||||
DI_WWW_HOME="http://d-i.debian.org/daily-images/s390x/daily"
|
||||
fi
|
||||
if [ "$ARCH" = s390x ]; then
|
||||
DI_WWW_HOME="http://d-i.debian.org/daily-images/s390x/daily"
|
||||
fi
|
||||
if [ -n "$DI_DIR" -a -e "$DI_DIR/~${DI_WWW_HOME#*~}" ] ; then
|
||||
DI_DIR="$DI_DIR/${DI_WWW_HOME#*http://}"
|
||||
DI_WWW_HOME=""
|
||||
DI_WWW_HOME=""
|
||||
fi
|
||||
fi
|
||||
if [ ! "$DI_DIST" ]; then
|
||||
|
|
|
@ -16,7 +16,6 @@ N=$1
|
|||
CDDIR=$2
|
||||
BOOTDIR=
|
||||
if [ "$DI_WWW_HOME" = "default" ];then
|
||||
|
||||
# Tempting as it might be to merge these two definitions using $ARCH,
|
||||
# do *not* do that - these defs are parsed out by other scripts that
|
||||
# won't cope with that
|
||||
|
|
Loading…
Reference in New Issue