1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Do the right thing with USA_RESIDENT

This commit is contained in:
Jordan K. Hubbard 2000-03-10 20:34:22 +00:00
parent dad50e2ed3
commit e03f42bcc6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57893
5 changed files with 11 additions and 11 deletions

View File

@ -399,11 +399,11 @@ distMaybeSetCRYPTO(dialogMenuItem *self)
"a second pass with the Custom Installation option.")) { "a second pass with the Custom Installation option.")) {
if (!dmenuOpenSimple(&MenuCRYPTODistributions, FALSE)) if (!dmenuOpenSimple(&MenuCRYPTODistributions, FALSE))
i = DITEM_FAILURE; i = DITEM_FAILURE;
else
USAResident = TRUE;
} }
else
USAResident = FALSE; dialog_clear_norefresh();
USAResident = !msgYesNo("Are you actually resident in the United States?");
distVerifyFlags(); distVerifyFlags();
return i | DITEM_REDRAW | DITEM_RESTORE; return i | DITEM_REDRAW | DITEM_RESTORE;
} }

View File

@ -71,5 +71,5 @@ globalsInit(void)
VarHead = NULL; VarHead = NULL;
mediaDevice = NULL; mediaDevice = NULL;
RunningAsInit = FALSE; RunningAsInit = FALSE;
USAResident = TRUE; USAResident = FALSE;
} }

View File

@ -71,5 +71,5 @@ globalsInit(void)
VarHead = NULL; VarHead = NULL;
mediaDevice = NULL; mediaDevice = NULL;
RunningAsInit = FALSE; RunningAsInit = FALSE;
USAResident = TRUE; USAResident = FALSE;
} }

View File

@ -399,11 +399,11 @@ distMaybeSetCRYPTO(dialogMenuItem *self)
"a second pass with the Custom Installation option.")) { "a second pass with the Custom Installation option.")) {
if (!dmenuOpenSimple(&MenuCRYPTODistributions, FALSE)) if (!dmenuOpenSimple(&MenuCRYPTODistributions, FALSE))
i = DITEM_FAILURE; i = DITEM_FAILURE;
else
USAResident = TRUE;
} }
else
USAResident = FALSE; dialog_clear_norefresh();
USAResident = !msgYesNo("Are you actually resident in the United States?");
distVerifyFlags(); distVerifyFlags();
return i | DITEM_REDRAW | DITEM_RESTORE; return i | DITEM_REDRAW | DITEM_RESTORE;
} }

View File

@ -71,5 +71,5 @@ globalsInit(void)
VarHead = NULL; VarHead = NULL;
mediaDevice = NULL; mediaDevice = NULL;
RunningAsInit = FALSE; RunningAsInit = FALSE;
USAResident = TRUE; USAResident = FALSE;
} }