summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-12 14:02:13 +0000
committerjkh <jkh@FreeBSD.org>1996-06-12 14:02:13 +0000
commita2ffbe1a9a5c0ebc9aefd39b36578a15c578c3a6 (patch)
tree3f3d08c3292608539123b69e56b62cbf8ccb7d03 /usr.sbin/sysinstall/index.c
parent3ff88e997b783b5d885539159b3128b761a0a023 (diff)
downloadFreeBSD-src-a2ffbe1a9a5c0ebc9aefd39b36578a15c578c3a6.zip
FreeBSD-src-a2ffbe1a9a5c0ebc9aefd39b36578a15c578c3a6.tar.gz
Fix a truly stupid bug which broke the package installation menu
for everything _but_ the multi-user case now (it was the opposite before :-). That means adding packages with the 2.2-960511-SNAP boot floppy is busted. Feh.
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index 79a7d72..00a88d9 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: index.c,v 1.32 1996/06/08 07:15:48 jkh Exp $
+ * $Id: index.c,v 1.33 1996/06/08 08:01:49 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -404,7 +404,7 @@ pkg_fire(dialogMenuItem *self)
sp = index_search(plist, kp->name, NULL);
/* Not already selected? */
if (!sp) {
- if (!RunningAsInit && !package_exists(kp->name)) {
+ if (RunningAsInit || !package_exists(kp->name)) {
PkgNodePtr np = (PkgNodePtr)safe_malloc(sizeof(PkgNode));
*np = *kp;
OpenPOWER on IntegriCloud