#!/bin/ksh
# Copyright 01/12/03 Sun Microsystems, Inc. All Rights Reserved.
# @(#)prepatch        1.15 01/12/03 Sun Microsystems

/usr/bin/pkginfo -q SUNWps
if [ $? -eq 0 ]; then
  PS_INSTALL_DIR=`/usr/bin/grep "BASEDIR=" /etc/opt/SUNWps/PSConfig.properties | /usr/bin/grep -v "IDSAME" | /usr/bin/awk ' BEGIN { FS="=" } { print $2 }`
  chmod 755 $PS_INSTALL_DIR/SUNWps
fi
