Don't ask about CD numbers if not installing from CD.
Approved by: re
This commit is contained in:
parent
60baed3742
commit
c23f4ee59f
@ -695,6 +695,7 @@ index_extract(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended)
|
||||
* Prompt user if the package is not available on the current volume.
|
||||
*/
|
||||
|
||||
if(mediaDevice->type == DEVICE_TYPE_CDROM) {
|
||||
while (id->volume != dev->volume) {
|
||||
if (!msgYesNo("This is disc #%d. Package %s is on disc #%d\n"
|
||||
"Would you like to switch discs now?\n", dev->volume,
|
||||
@ -707,6 +708,7 @@ index_extract(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended)
|
||||
return DITEM_FAILURE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (id && id->deps && strlen(id->deps)) {
|
||||
char t[2048 * 8], *cp, *cp2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user