1999-11-11 16:10:37 -01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# FOR SLINK
|
|
|
|
# Include the upgrade dir when available
|
|
|
|
|
|
|
|
if [ "$ARCH" = "i386" -a -d "$MIRROR/dists/$CODENAME/main/upgrade-older-$ARCH" \
|
|
|
|
-a -d "$MIRROR/dists/$CODENAME/main/upgrade-2.0-$ARCH" ]; then
|
2000-06-20 20:58:16 +00:00
|
|
|
for dir in $TDIR/$CODENAME-$ARCH/CD1*
|
|
|
|
do
|
|
|
|
$BASEDIR/tools/add_files $dir $MIRROR \
|
1999-11-11 16:10:37 -01:00
|
|
|
dists/$CODENAME/main/upgrade-older-$ARCH \
|
|
|
|
dists/$CODENAME/main/upgrade-2.0-$ARCH
|
2000-06-20 20:58:16 +00:00
|
|
|
done
|
1999-11-11 16:10:37 -01:00
|
|
|
elif [ "$ARCH" = "i386" ]; then
|
|
|
|
echo "UPGRADE DIR FOR I386 ARE MISSING !!" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0;
|