Source-Changes-HG archive

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

[src/pkgviews]: src/usr.sbin/pkg_install/view By default, have linkfarm(1) al...



details:   https://anonhg.NetBSD.org/src/rev/5bd30cd54d50
branches:  pkgviews
changeset: 534245:5bd30cd54d50
user:      jlam <jlam%NetBSD.org@localhost>
date:      Tue Jul 29 06:57:34 2003 +0000

description:
By default, have linkfarm(1) also ignore likely config files when
symlinking from the stowdir into the targetdir.

diffstat:

 usr.sbin/pkg_install/view/linkfarm.1  |  6 +++---
 usr.sbin/pkg_install/view/linkfarm.sh |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 85c9d6918c07 -r 5bd30cd54d50 usr.sbin/pkg_install/view/linkfarm.1
--- a/usr.sbin/pkg_install/view/linkfarm.1      Tue Jul 29 06:08:18 2003 +0000
+++ b/usr.sbin/pkg_install/view/linkfarm.1      Tue Jul 29 06:57:34 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: linkfarm.1,v 1.1.2.2 2003/07/14 22:54:51 jlam Exp $
+.\"    $NetBSD: linkfarm.1,v 1.1.2.3 2003/07/29 06:57:34 jlam Exp $
 .\"
 .\" Copyright (c) 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -117,7 +117,7 @@
 .Ar stowdir
 directories.
 .It Ev PLIST_IGNORE_FILES
-This can be used to specify shell glob patterns to match the files in
+This can be used to specify files in
 .Ar package
 that should ignored when creating and deleting symbolic links in
 .Ar target .
@@ -125,7 +125,7 @@
 is a space-separated list of shell glob patterns that match files relative
 to the
 .Ar package
-directory.
+directory, and it defaults to "info/dir *[~#] *.OLD *.orig *,v".
 .El
 .Sh SEE ALSO
 .Xr pkg_views 1 ,
diff -r 85c9d6918c07 -r 5bd30cd54d50 usr.sbin/pkg_install/view/linkfarm.sh
--- a/usr.sbin/pkg_install/view/linkfarm.sh     Tue Jul 29 06:08:18 2003 +0000
+++ b/usr.sbin/pkg_install/view/linkfarm.sh     Tue Jul 29 06:57:34 2003 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: linkfarm.sh,v 1.1.2.10 2003/07/29 06:08:18 jlam Exp $
+# $NetBSD: linkfarm.sh,v 1.1.2.11 2003/07/29 06:57:34 jlam Exp $
 
 #
 # Copyright (c) 2002 Alistair G. Crooks.  All rights reserved.
@@ -64,7 +64,7 @@
        fi
 }
 
-ignorefiles=${PLIST_IGNORE_FILES:-info/dir}
+ignorefiles=${PLIST_IGNORE_FILES:-"info/dir *[~#] *.OLD *.orig *,v"}
 linktype=-s
 
 # default action: create a linkfarm in $target from $stowdir/$1



Home | Main Index | Thread Index | Old Index