summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_manage
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-05-26 17:28:00 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-05-26 17:28:00 +0000
commit048999e640a7b65b184060d5df0bd1ded82ede4d (patch)
tree12504ab24567452268eecc6a1978f4a15185b1f1 /usr.sbin/pkg_manage
parentb9643b669583f7f16d6107d463da4b8d32e1ba33 (diff)
Fix the braindamage I somehow inflicted on this file early this morning.
Notes
svn path=/head/; revision=8765
Diffstat (limited to 'usr.sbin/pkg_manage')
-rw-r--r--usr.sbin/pkg_manage/pkg_ui.c19
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 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() */