pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/mklivecd/files Only complain about a missing ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/675b9c605395
branches:  trunk
changeset: 530279:675b9c605395
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Thu Jun 21 12:21:10 2007 +0000

description:
Only complain about a missing kernel config file if we did actually
_not_ find it.

diffstat:

 sysutils/mklivecd/files/mklivecd.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r ba6d748789b4 -r 675b9c605395 sysutils/mklivecd/files/mklivecd.sh
--- a/sysutils/mklivecd/files/mklivecd.sh       Thu Jun 21 11:55:32 2007 +0000
+++ b/sysutils/mklivecd/files/mklivecd.sh       Thu Jun 21 12:21:10 2007 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: mklivecd.sh,v 1.44 2007/04/12 23:08:35 xtraeme Exp $
+# $NetBSD: mklivecd.sh,v 1.45 2007/06/21 12:21:10 hauke Exp $
 #
 # Copyright (c) 2004-2007 Juan Romero Pardines.
 # All rights reserved.
@@ -400,7 +400,7 @@
         eval bootkern=\$KERNEL_CONFIG_${K}
         eval kernname=\$KERNEL_NAME_${K}
 
-        if [ -f $config_dir/$bootkern ]; then
+        if [ ! -f $config_dir/$bootkern ]; then
             showmsg "couldn't find $bootkern, exiting."
             bye 1
         fi
@@ -672,7 +672,7 @@
        cat > $ISODIR/etc/rc.d/root <<_EOF_
 #!/bin/sh
 #
-# \$NetBSD: mklivecd.sh,v 1.44 2007/04/12 23:08:35 xtraeme Exp $
+# \$NetBSD: mklivecd.sh,v 1.45 2007/06/21 12:21:10 hauke Exp $
 # 
 
 # PROVIDE: root



Home | Main Index | Thread Index | Old Index