diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-26 17:28:00 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-26 17:28:00 +0000 |
commit | 290938c8535a7803a0b144485bc4874689c4e74f (patch) | |
tree | 12504ab24567452268eecc6a1978f4a15185b1f1 | |
parent | e6ff7ba685dffe5e2dd003483a1cbc4d78813516 (diff) | |
download | FreeBSD-src-290938c8535a7803a0b144485bc4874689c4e74f.zip FreeBSD-src-290938c8535a7803a0b144485bc4874689c4e74f.tar.gz |
Fix the braindamage I somehow inflicted on this file early this morning.
-rw-r--r-- | usr.sbin/pkg_manage/pkg_ui.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/usr.sbin/pkg_manage/pkg_ui.c b/usr.sbin/pkg_manage/pkg_ui.c index 41f5328..d06fb73 100644 --- a/usr.sbin/pkg_manage/pkg_ui.c +++ b/usr.sbin/pkg_manage/pkg_ui.c @@ -211,22 +211,15 @@ install_batch(void) use_helpfile(DS_INSTALL_HLP); quit = FALSE; while (!quit) { - if (StartDir) { - use_helpline("Select directory where the pkg's reside"); - if (dialog_dselect(".", "*.tgz")) { - quit = TRUE; - } else { + if (StartDir) install_pkgs_indir(); - } else { - use_helpline("Select directory where the pkg's reside"); - if (dialog_dselect(".", "*.tgz")) { - quit = TRUE; - } else { - install_pkgs_indir(); - } + use_helpline("Select directory where the pkg's reside"); + if (dialog_dselect(".", "*.tgz")) + quit = TRUE; + else + install_pkgs_indir(); } - } return; } /* install_batch() */ |