diff options
author | Tim Vanderhoek <hoek@FreeBSD.org> | 1999-05-26 00:34:26 +0000 |
---|---|---|
committer | Tim Vanderhoek <hoek@FreeBSD.org> | 1999-05-26 00:34:26 +0000 |
commit | b9d6168895181749a99d4cc17c4a595f2df6d6da (patch) | |
tree | 2746c47ed22952406ed30b52e88d4443172a7706 /x11-toolkits/tk83 | |
parent | 2507ae279daa9223ea09302c7d7389bf9fbbd8b8 (diff) | |
download | ports-b9d6168895181749a99d4cc17c4a595f2df6d6da.tar.gz ports-b9d6168895181749a99d4cc17c4a595f2df6d6da.zip |
Notes
Diffstat (limited to 'x11-toolkits/tk83')
-rw-r--r-- | x11-toolkits/tk83/pkg-install.wish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/tk83/pkg-install.wish b/x11-toolkits/tk83/pkg-install.wish index 645c3a6e1fb2..d526f076a498 100644 --- a/x11-toolkits/tk83/pkg-install.wish +++ b/x11-toolkits/tk83/pkg-install.wish @@ -1,9 +1,9 @@ #!/bin/sh # The user may have a wish they want to preserve -if [ ! -f ${PKG_PREFIX}/bin/wish ] || [ \ - `grep -a awieYJFnsuILOnfsYEW ${PKG_PREFIX}/bin/wish | sed -e 's/.*\*\*//'` \ - -lt 001 ] +ver=`grep -a awieYJFnsuILOnfsYEW ${PKG_PREFIX}/bin/wish 2> /dev/null \ + | sed -e 's/.*\*\*//'` +if [ ! -e ${PKG_PREFIX}/bin/wish ] || [ "$ver" != "" -a "$ver" -lt 001 ] then [ -f ${PKG_PREFIX}/bin/wish ] && chmod u+w ${PKG_PREFIX}/bin/wish |