Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/etcupdate Remove the ability to specify multiple co...
details: https://anonhg.NetBSD.org/src/rev/b22e43402fc6
branches: trunk
changeset: 781021:b22e43402fc6
user: apb <apb%NetBSD.org@localhost>
date: Wed Aug 15 16:26:41 2012 +0000
description:
Remove the ability to specify multiple colon-separated file names with
a single "-s" option. Multiple "-s" options must now be used instead.
We have been printing a warning about this since 2008-09-14.
diffstat:
usr.sbin/etcupdate/etcupdate | 15 +--------------
usr.sbin/etcupdate/etcupdate.8 | 13 +++++++++++--
2 files changed, 12 insertions(+), 16 deletions(-)
diffs (65 lines):
diff -r dd7101fbb92c -r b22e43402fc6 usr.sbin/etcupdate/etcupdate
--- a/usr.sbin/etcupdate/etcupdate Wed Aug 15 16:21:41 2012 +0000
+++ b/usr.sbin/etcupdate/etcupdate Wed Aug 15 16:26:41 2012 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: etcupdate,v 1.50 2010/06/24 17:12:06 joerg Exp $
+# $NetBSD: etcupdate,v 1.51 2012/08/15 16:26:41 apb Exp $
#
# Copyright (c) 2001-2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -455,19 +455,6 @@
BINARYMODE=true
BINARYDIRMODE=true
BINARYDIR="${arg}"
- elif [ -f "${arg%%:*}" -a -f "${arg##*:}" -a ! -f "${arg}" ]
- then
- # Backward compatibility: allow arg to refer
- # to a colon-separated list of tgz files.
- # Remove this after NetBSD-5.0 is released.
- cat <<EOF
-*** WARNING: The "-s tgzfile1:tgzfile2" option is deprecated. Please use
- "-s tgzfile1 -s tgzfile2" in future.
-EOF
- BINARYMODE=true
- BINARYTGZMODE=true
- TGZLIST="${TGZLIST}${TGZLIST:+ }$( \
- IFS=: eval shell_quote \${arg} )"
else
echo "*** Nonexistent file or directory for -s ${arg}"
usage
diff -r dd7101fbb92c -r b22e43402fc6 usr.sbin/etcupdate/etcupdate.8
--- a/usr.sbin/etcupdate/etcupdate.8 Wed Aug 15 16:21:41 2012 +0000
+++ b/usr.sbin/etcupdate/etcupdate.8 Wed Aug 15 16:26:41 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: etcupdate.8,v 1.19 2009/12/08 09:46:35 mbalmer Exp $
+.\" $NetBSD: etcupdate.8,v 1.20 2012/08/15 16:26:41 apb Exp $
.\"
.\" Copyright (c) 2001-2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 4, 2008
+.Dd August 15, 2012
.Dt ETCUPDATE 8
.Os
.Sh NAME
@@ -382,6 +382,15 @@
and options deprecated in
.Nx 4.0
were removed.
+.Pp
+In
+.Nx 7.0 ,
+the ability to specify multiple colon-separated files with a single
+.Fl s
+option was removed.
+Multiple
+.Fl s
+options must be used instead.
.Sh AUTHORS
The script was written by
.An Martti Kuparinen
Home |
Main Index |
Thread Index |
Old Index