diff options
Diffstat (limited to 'x11-toolkits/tk83/pkg-install.wish')
-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 |