#! /bin/sh -e Q=`run-standalone.sh zenity --question --text="Install custom transitions?" --ok-label=Yes; echo $?` if [ "$Q" = "0" ]; then # install the custom things echo "User chose yes" else # do not install the custom things echo "User chose no" fi