1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

Add an extra sanity check to previous commit.

This commit is contained in:
Jordan K. Hubbard 1997-10-06 08:36:12 +00:00
parent c16f090408
commit 690f1880b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30167
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: install.c,v 1.198 1997/10/03 14:14:40 jkh Exp $
* $Id: install.c,v 1.199 1997/10/06 08:34:56 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -806,7 +806,7 @@ installFixup(dialogMenuItem *self)
/* BOGON #6: deal with new boot files */
vsystem("touch /kernel.config");
vsystem("touch /boot.config");
if (file_readable("/stand/boot.help"))
if (file_readable("/stand/boot.help") && !file_readable("/boot.help"))
vsystem("mv /stand/boot.help /");
/* Now run all the mtree stuff to fix things up */

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: install.c,v 1.198 1997/10/03 14:14:40 jkh Exp $
* $Id: install.c,v 1.199 1997/10/06 08:34:56 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -806,7 +806,7 @@ installFixup(dialogMenuItem *self)
/* BOGON #6: deal with new boot files */
vsystem("touch /kernel.config");
vsystem("touch /boot.config");
if (file_readable("/stand/boot.help"))
if (file_readable("/stand/boot.help") && !file_readable("/boot.help"))
vsystem("mv /stand/boot.help /");
/* Now run all the mtree stuff to fix things up */

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: install.c,v 1.198 1997/10/03 14:14:40 jkh Exp $
* $Id: install.c,v 1.199 1997/10/06 08:34:56 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -806,7 +806,7 @@ installFixup(dialogMenuItem *self)
/* BOGON #6: deal with new boot files */
vsystem("touch /kernel.config");
vsystem("touch /boot.config");
if (file_readable("/stand/boot.help"))
if (file_readable("/stand/boot.help") && !file_readable("/boot.help"))
vsystem("mv /stand/boot.help /");
/* Now run all the mtree stuff to fix things up */