sysinstall's binary upgrade option used to display the contents of

UPGRADE.TXT along with a YesNo dialog requesting confirmation of
the upgrade.  During the transition to RELNOTESng, UPGRADE.TXT got
folded into a file that eventually renders as INSTALL.TXT, which
makes sysinstall complain about a non-existent file.  As a
solution/workaround, point the user at INSTALL.TXT, and then request
confirmation.

Noticed by:	rpratt (on 4.4-RC3)
Approved by:	jkh
This commit is contained in:
Bruce A. Mah 2001-09-04 21:06:48 +00:00
parent b5fffd3bde
commit 0b04c12ca7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83020

View File

@ -165,10 +165,12 @@ installUpgrade(dialogMenuItem *self)
variable_set2(SYSTEM_STATE, "upgrade", 0);
dialog_clear();
systemDisplayHelp("UPGRADE");
if (msgYesNo("Given all that scary stuff you just read, are you sure you want to\n"
"risk it all and proceed with this upgrade?") != 0)
if (msgYesNo("Before beginning a binary upgrade, please review the upgrade instructions,\n"
"which are located in the \"Install\" document under the main documentation\n"
"menu. Given that you have read these instructions and understand the risks\n"
"and precautions involved, are you sure that you want to proceed with\n"
"this upgrade?") != 0)
return DITEM_FAILURE;
if (!Dists) {