pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net Replace test -e with -d.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c35123a20510
branches:  trunk
changeset: 477888:c35123a20510
user:      salo <salo%pkgsrc.org@localhost>
date:      Sat Jul 10 23:13:01 2004 +0000

description:
Replace test -e with -d.
Addresses part of PR pkg/26235 by Georg Schwarz.

diffstat:

 net/ja-samba/INSTALL |  4 ++--
 net/samba2/INSTALL   |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 0b4587ec58c3 -r c35123a20510 net/ja-samba/INSTALL
--- a/net/ja-samba/INSTALL      Sat Jul 10 23:03:47 2004 +0000
+++ b/net/ja-samba/INSTALL      Sat Jul 10 23:13:01 2004 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: INSTALL,v 1.1.1.1 2002/06/25 15:31:32 taca Exp $
+# $NetBSD: INSTALL,v 1.2 2004/07/10 23:13:01 salo Exp $
 
 SAMBA_LOCKDIR="@SAMBA_LOCKDIR@"
 SAMBA_PRIVATE="@SAMBA_PRIVATE@"
@@ -8,7 +8,7 @@
 case ${STAGE} in
 POST-INSTALL)
        # Check for files in old "lock" directory.
-       if [ -e /var/run/samba ]
+       if [ -d /var/run/samba ]
        then
                ${CAT} << EOF
 ===========================================================================
diff -r 0b4587ec58c3 -r c35123a20510 net/samba2/INSTALL
--- a/net/samba2/INSTALL        Sat Jul 10 23:03:47 2004 +0000
+++ b/net/samba2/INSTALL        Sat Jul 10 23:13:01 2004 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: INSTALL,v 1.1.1.1 2004/01/11 00:41:13 jlam Exp $
+# $NetBSD: INSTALL,v 1.2 2004/07/10 23:15:32 salo Exp $
 
 SAMBA_LOCKDIR="@SAMBA_LOCKDIR@"
 SAMBA_PRIVATE="@SAMBA_PRIVATE@"
@@ -8,7 +8,7 @@
 case ${STAGE} in
 POST-INSTALL)
        # Check for files in old "lock" directory.
-       if [ -e /var/run/samba ]
+       if [ -d /var/run/samba ]
        then
                ${CAT} << EOF
 ===========================================================================



Home | Main Index | Thread Index | Old Index