Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #!/bin/sh
  2. echo " "
  3. echo "REPORT ALL BUGS, PROBLEMS, AND ACCOLADES TO:"
  4. echo " "
  5. echo "         Zip-Bugs@lists.wku.edu"
  6. echo " "
  7. echo "Checking architecture platform for .ARCH. ..."
  8. arch=`uname -p`
  9. if [ "arch_${arch}" != "arch_.ARCH." ]; then
  10.    echo " "
  11.    echo "This product MUST be installed on a Solaris .ARCH. platform."
  12.    echo "Your machine looks like it is a ${arch} platform."
  13.    echo "Please install the version for the .ARCH. architecture."
  14.    echo "Aborting the installation because of this. "
  15.    echo " "
  16.    returncode=1
  17.  else
  18.    echo " "
  19.    echo "This product works on .ARCH., which you happen to have!"
  20.    echo " "
  21.    returncode=0
  22. fi
  23. echo " "
  24. /usr/bin/sleep 4
  25. exit ${returncode:-1}
  26. #
  27.