Add an extra sanity check to previous commit.

This commit is contained in:
jkh 1997-10-06 08:36:12 +00:00
parent e1bb3693fd
commit 38ceede30c
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 */