cope with powerpc cdrom -> cdrom64 change

This commit is contained in:
Colin Watson 2006-08-29 14:09:19 +00:00
parent 4110d78b3e
commit 83af20b93f
1 changed files with 6 additions and 2 deletions

View File

@ -94,9 +94,13 @@ do
if [ ! "$DI_DIR" ];then if [ ! "$DI_DIR" ];then
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images" DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
fi fi
cp -a "$DI_DIR/$subarch/cdrom${bitness}" "$subarch" if ! cp -a "$DI_DIR/$subarch/cdrom" "$subarch" && [ "$bitness" ]; then
cp -a "$DI_DIR/$subarch/cdrom${bitness}" "$subarch"
fi
else else
wget -r -nd --no-parent --level=1 -P "$subarch" -R 'index*' "$DI_WWW_HOME/$subarch/cdrom${bitness}/" if ! wget -r -nd --no-parent --level=1 -P "$subarch" -R 'index*' "$DI_WWW_HOME/$subarch/cdrom/" && [ "$bitness" ]; then
wget -r -nd --no-parent --level=1 -P "$subarch" -R 'index*' "$DI_WWW_HOME/$subarch/cdrom${bitness}/"
fi
fi fi
done done