View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#12
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
 

The Following User Says Thank You to MohammadAG For This Useful Post: