echo "Platform Judgement"
case `uname` in
SunOS)
 OS_NAME=sunos`uname -r | tr -d '.'`
 ARCH=`uname -p`
 PACKAGE="arcserverha_${OS_NAME}_${ARCH}"
 ;;
AIX)
 OS_NAME=aix`uname -v``uname -r`
 ARCH=ppc
 PACKAGE="arcserverha_${OS_NAME}_${ARCH}"
 ;;
Linux)
 echo "Linux"
 OS_NAME=`lsb_release -i | sed -e '/RedHat/ c\rhed' -e '/SUSE/ c\sles'``lsb_release -r | awk '{print $2}'`
 PACKAGE="arcserverha_${OS_NAME}"
 ;;
*)
 unsupported_platform
 ;;
esac