From fd2808ffad45d755f032b108f95aae2483767e42 Mon Sep 17 00:00:00 2001 From: jkh Date: Sat, 16 Dec 2000 05:36:10 +0000 Subject: Fix an informational message a little and properly check status of a yes/no question which I bollicked up in my previous commit. --- usr.sbin/sysinstall/index.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'usr.sbin/sysinstall/index.c') diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c index 426097b..e166d94 100644 --- a/usr.sbin/sysinstall/index.c +++ b/usr.sbin/sysinstall/index.c @@ -733,13 +733,11 @@ index_initialize(char *path) msgNotify("Attempting to fetch %s file from selected media.", path); fp = mediaDevice->get(mediaDevice, path, TRUE); if (!fp) { - msgConfirm("Unable to get packages/INDEX file from selected media.\n" - "This may be because the packages collection is not available at\n" - "on the distribution media you've chosen (most likely an FTP site\n" - "without the packages collection mirrored). Please verify media\n" - "(or path to media) and try again. If your local site does not\n" - "carry the packages collection, then we recommend either a CD\n" - "distribution or the master distribution on ftp.freebsd.org."); + msgConfirm("Unable to get packages/INDEX file from selected media.\n\n" + "This may be because the packages collection is not available\n" + "on the distribution media you've chosen, most likely an FTP site\n" + "without the packages collection mirrored. Please verify that\n" + "your media, or your path to the media, is correct and try again."); mediaDevice->shutdown(mediaDevice); restorescr(w); return DITEM_FAILURE; -- cgit v1.1