pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/mklivecd/files err fixed the problem in check...
details: https://anonhg.NetBSD.org/pkgsrc/rev/723e2fbb2069
branches: trunk
changeset: 469711:723e2fbb2069
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Fri Feb 27 05:28:06 2004 +0000
description:
err fixed the problem in checkconf().
diffstat:
sysutils/mklivecd/files/mklivecd.sh | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r 95a56b01dd37 -r 723e2fbb2069 sysutils/mklivecd/files/mklivecd.sh
--- a/sysutils/mklivecd/files/mklivecd.sh Fri Feb 27 04:06:05 2004 +0000
+++ b/sysutils/mklivecd/files/mklivecd.sh Fri Feb 27 05:28:06 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: mklivecd.sh,v 1.2 2004/02/27 01:32:31 xtraeme Exp $
+# $NetBSD: mklivecd.sh,v 1.3 2004/02/27 05:28:06 xtraeme Exp $
#
# Copyright (c) 2004 Juan RP <xtraeme%NetBSD.org@localhost>
# All rights reserved.
@@ -168,6 +168,8 @@
echo "=> Configuration file created, now please edit it."
echo "=> Path: $config_file"
+ elif [ -f $config_file -a $target != "config" ]; then
+ showmsg "Using $config_file"
else
showmsg "$config_file already exists!"
bye 1
@@ -323,7 +325,7 @@
cat > $ISODIR/etc/rc.d/root <<_EOF_
#!/bin/sh
#
-# \$NetBSD: mklivecd.sh,v 1.2 2004/02/27 01:32:31 xtraeme Exp $
+# \$NetBSD: mklivecd.sh,v 1.3 2004/02/27 05:28:06 xtraeme Exp $
#
# PROVIDE: root
@@ -575,7 +577,9 @@
config_file=$config_dir/mklivecd.conf
fi
-case "$1" in
+target=$1
+
+case "$target" in
iso)
checkconf
do_cdlive iso
Home |
Main Index |
Thread Index |
Old Index