add SZ 1.52 updater files
[pandora-misc.git] / hotfix_updater / superzaxxon / run.sh
1 #!/bin/sh
2 set -e
3
4 t=`which terminal`
5 if [ -z "$t" ]; then
6   zenity --error --text='terminal is missing.'
7   exit 1
8 fi
9
10 gksudo -m "Firmware updater requires root permissions, please enter your password" id
11 exec sudo -n terminal -x sh -c ./updater.sh