Module Name: src
Committed By: riz
Date: Mon Apr 30 19:57:52 UTC 2012
Modified Files:
src/distrib/utils/sysinst: configmenu.c
Log Message:
Don't have pkgin prompt before updating the database.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/utils/sysinst/configmenu.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/sysinst/configmenu.c
diff -u src/distrib/utils/sysinst/configmenu.c:1.3 src/distrib/utils/sysinst/configmenu.c:1.4
--- src/distrib/utils/sysinst/configmenu.c:1.3 Mon Apr 30 19:05:29 2012
+++ src/distrib/utils/sysinst/configmenu.c Mon Apr 30 19:57:52 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: configmenu.c,v 1.3 2012/04/30 19:05:29 riz Exp $ */
+/* $NetBSD: configmenu.c,v 1.4 2012/04/30 19:57:52 riz Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -270,7 +270,7 @@ set_binpkg(struct menudesc *menu, void *
replace("/usr/pkg/etc/pkgin/repositories.conf", pattern);
run_program(RUN_DISPLAY | RUN_PROGRESS | RUN_CHROOT,
- "/usr/pkg/bin/pkgin update");
+ "/usr/pkg/bin/pkgin -y update");
msg_display(MSG_binpkg_installed);
process_menu(MENU_ok, NULL);