Only print "couldn't install distributions" popup if any

actual distributions were found to go along with the residual
mask value.
This commit is contained in:
jkh 1999-12-29 01:49:11 +00:00
parent f3ef7b4ecf
commit 1a4e8a1971
2 changed files with 10 additions and 6 deletions

View File

@ -893,9 +893,11 @@ distExtractAll(dialogMenuItem *self)
dialog_clear_norefresh();
printSelected(buf, Dists, DistTable, &col);
dialog_clear_norefresh();
msgConfirm("Couldn't extract the following distributions. This may\n"
"be because they were not available on the installation\n"
"media you've chosen:\n\n\t%s", buf);
if (col) {
msgConfirm("Couldn't extract the following distributions. This may\n"
"be because they were not available on the installation\n"
"media you've chosen:\n\n\t%s", buf);
}
}
restorescr(w);
return status;

View File

@ -893,9 +893,11 @@ distExtractAll(dialogMenuItem *self)
dialog_clear_norefresh();
printSelected(buf, Dists, DistTable, &col);
dialog_clear_norefresh();
msgConfirm("Couldn't extract the following distributions. This may\n"
"be because they were not available on the installation\n"
"media you've chosen:\n\n\t%s", buf);
if (col) {
msgConfirm("Couldn't extract the following distributions. This may\n"
"be because they were not available on the installation\n"
"media you've chosen:\n\n\t%s", buf);
}
}
restorescr(w);
return status;