From 048999e640a7b65b184060d5df0bd1ded82ede4d Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 26 May 1995 17:28:00 +0000 Subject: Fix the braindamage I somehow inflicted on this file early this morning. --- usr.sbin/pkg_manage/pkg_ui.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'usr.sbin/pkg_manage') diff --git a/usr.sbin/pkg_manage/pkg_ui.c b/usr.sbin/pkg_manage/pkg_ui.c index 41f53281ff9b..d06fb73ee401 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() */ -- cgit v1.3