Right, try this. Code: #! /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 Haven't tested the script cause I'm not on Maemo (on Ubuntu atm) on the N900, but it works on my PC Hope it works
#! /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