Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/distrib/utils/sysinst/Attic/util.c,v rcsdiff: /ftp/cvs/cvsroot/src/distrib/utils/sysinst/Attic/util.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.147 retrieving revision 1.147.8.2 diff -u -p -r1.147 -r1.147.8.2 --- src/distrib/utils/sysinst/Attic/util.c 2006/11/24 00:53:47 1.147 +++ src/distrib/utils/sysinst/Attic/util.c 2008/01/09 01:28:30 1.147.8.2 @@ -1,4 +1,4 @@ -/* $NetBSD: util.c,v 1.147 2006/11/24 00:53:47 hubertf Exp $ */ +/* $NetBSD: util.c,v 1.147.8.2 2008/01/09 01:28:30 matt Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -115,6 +115,7 @@ distinfo dist_list[] = { {"games", SET_GAMES, MSG_set_games, NULL}, {"man", SET_MAN_PAGES, MSG_set_man_pages, NULL}, {"misc", SET_MISC, MSG_set_misc, NULL}, + {"tests", SET_TESTS, MSG_set_tests, NULL}, {"text", SET_TEXT_TOOLS, MSG_set_text_tools, NULL}, {NULL, SET_GROUP, MSG_set_X11, NULL}, @@ -685,6 +686,18 @@ extract_file(distinfo *dist, int update, } if (update && dist->set == SET_ETC) { + int oldsendmail; + oldsendmail = run_program(RUN_DISPLAY | RUN_CHROOT | + RUN_ERROR_OK | RUN_PROGRESS, + "/usr/sbin/postinstall -s /.sysinst -d / check mailerconf"); + if (oldsendmail == 1) { + msg_display(MSG_oldsendmail); + process_menu(MENU_yesno, NULL); + if (yesno) { + run_program(RUN_DISPLAY | RUN_CHROOT, + "/usr/sbin/postinstall -s /.sysinst -d / fix mailerconf"); + } + } run_program(RUN_DISPLAY | RUN_CHROOT, "/usr/sbin/postinstall -s /.sysinst -d / fix"); }