summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/doc.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-11-06 12:49:27 +0000
committerjkh <jkh@FreeBSD.org>1995-11-06 12:49:27 +0000
commit70e33173922ad4e39017ab578a3fe083ecc6b794 (patch)
tree216b59d8495cb89e5a2a7ebbcea3bee4de0eca17 /usr.sbin/sysinstall/doc.c
parentaa13ab02a26aef760ba7f42528305d7b01c74e92 (diff)
downloadFreeBSD-src-70e33173922ad4e39017ab578a3fe083ecc6b794.zip
FreeBSD-src-70e33173922ad4e39017ab578a3fe083ecc6b794.tar.gz
Some general fixes for the package menu (still need to fix the "more than 10
items checked bug though). Now allow user to specify a PKG_TMPDIR. If not selected, we try to make one.
Diffstat (limited to 'usr.sbin/sysinstall/doc.c')
-rw-r--r--usr.sbin/sysinstall/doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/doc.c b/usr.sbin/sysinstall/doc.c
index a52c659..187362d 100644
--- a/usr.sbin/sysinstall/doc.c
+++ b/usr.sbin/sysinstall/doc.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: doc.c,v 1.8 1995/10/27 03:59:31 jkh Exp $
+ * $Id: doc.c,v 1.9 1995/11/04 08:47:22 jkh Exp $
*
* Jordan Hubbard
*
@@ -23,7 +23,7 @@ docBrowser(char *junk)
{
char *browser = variable_get(VAR_BROWSER_PACKAGE);
- if (!strstr(variable_get(SYSTEM_STATE), "install")) {
+ if (RunningAsInit && !strstr(variable_get(SYSTEM_STATE), "install")) {
msgConfirm("This option may only be used after the system is installed, sorry!");
return RET_FAIL;
}
OpenPOWER on IntegriCloud