3 # This script can be used to install packages from the
4 # the installation CD-ROM.
8 CDPACK
=${CDMP}/install
/packages
9 PACKSUM
=pkg_summary.bz2
17 # Is there a usable CD to install packages from?
19 then pack
=${cddrive}p2
20 umount
$pack >/dev
/null
2>&1 || true
21 echo "Checking for CD in $pack."
22 if mount
-r $pack $CDMP 2>/dev
/null
23 then fn
="$CDPACK/$PACKSUM"
27 if [ ! -f $cdpackages ]
29 echo "No package summary found on CD in $fn."
32 else echo "Not found."
35 else echo "Don't know where the install CD is. You can set it in $RC."
39 # Set package repo to CD and populate package db
40 export PKG_REPOS
=${CDPACK}