Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst Make the option to abort pkgsrc fetching/ex...



details:   https://anonhg.NetBSD.org/src/rev/988ff029da07
branches:  trunk
changeset: 333040:988ff029da07
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Oct 15 21:38:39 2014 +0000

description:
Make the option to abort pkgsrc fetching/extraction actually work.
Previously, if the network was not set up and you couldn't fetch
pkgsrc, you'd get stuck here, unable to make it back to the parent
menu.

diffstat:

 usr.sbin/sysinst/menus.mi |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e8547ae19deb -r 988ff029da07 usr.sbin/sysinst/menus.mi
--- a/usr.sbin/sysinst/menus.mi Wed Oct 15 21:18:32 2014 +0000
+++ b/usr.sbin/sysinst/menus.mi Wed Oct 15 21:38:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.mi,v 1.6 2014/09/22 19:01:02 roy Exp $   */
+/*     $NetBSD: menus.mi,v 1.7 2014/10/15 21:38:39 snj Exp $   */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -613,7 +613,7 @@
                        clean_xfer_dir ? MSG_Yes : MSG_No);},
                action {process_menu(MENU_yesno, deconst(MSG_delete_xfer_file));
                        clean_xfer_dir = yesno; };
-       option MSG_quit_pkgsrc, exit, action { yesno = 0;};
+       option MSG_quit_pkgsrc, exit, action { yesno = SET_SKIP;};
 
 menu usersh, title MSG_User_shell, no clear;
        option "/bin/sh",  exit, action { ushell = "/bin/sh";}; 



Home | Main Index | Thread Index | Old Index