#!/bin/sh # export PATH=$PATH:$PWD/bin which dialog >/dev/null 2>&1 if [ ! $? = 0 ];then which Xdialog >/dev/null 2>&1 if [ ! $? = 0 ];then echo "" echo "" echo "" echo "You need to install dialog or Xdialog for this to work" echo "" echo "" echo "" exit 1 fi fi cd scripts ./x_or_shell