diff options
author | Ken Smith <kensmith@FreeBSD.org> | 2008-10-15 15:54:33 +0000 |
---|---|---|
committer | Ken Smith <kensmith@FreeBSD.org> | 2008-10-15 15:54:33 +0000 |
commit | b739742ca9573ef094667351f5e8bf93bc064368 (patch) | |
tree | 2fb9c691624d6bed4d63f6de66158f4b4c8d9c80 /usr.sbin/sysinstall/config.c | |
parent | 905964654590f4aa7d8756fc746be1d7fa27dd09 (diff) |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/config.c')
-rw-r--r-- | usr.sbin/sysinstall/config.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index bb7ffbc7eb818..e550f051b584c 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -737,6 +737,7 @@ configPackages(dialogMenuItem *self) while (1) { int ret, pos, scroll; + int current, low, high; /* Bring up the packages menu */ pos = scroll = 0; @@ -751,8 +752,14 @@ configPackages(dialogMenuItem *self) else if (DITEM_STATUS(ret) != DITEM_FAILURE) { dialog_clear(); restoreflag = 1; - for (tmp = Plist.kids; tmp && tmp->name; tmp = tmp->next) - (void)index_extract(mediaDevice, &Top, tmp, FALSE); + if (have_volumes) { + low = low_volume; + high = high_volume; + } else + low = high = 0; + for (current = low; current <= high; current++) + for (tmp = Plist.kids; tmp && tmp->name; tmp = tmp->next) + (void)index_extract(mediaDevice, &Top, tmp, FALSE, current); break; } } |