#!/bin/bash

if [ -e /usr/bin/tixwish ]; then
  TIXWISH=/usr/bin/tixwish
elif [ -e /usr/bin/tixwish4.1.8.0 ]; then
  TIXWISH=/usr/bin/tixwish4.1.8.0
elif [ -e /usr/bin/tixwish4.1.8.3 ]; then
  TIXWISH=/usr/bin/tixwish4.1.8.3
else
  echo "ERROR: tixwish not installed."
  echo "X-Windows must be installed to use the IML viewer."
  exit 1
fi

$TIXWISH /sbin/cpqimlview.tcl

exit 0
