#! /bin/bash
# Script launched by the pistore dekstop icon.

# Work out if the user has their sudo set to require password entry.
sudo -n echo > /dev/null

if [ "$?" != "0" ]
	then
		lxterminal -T "Pi Store" -e "pistore"
else
	pistore
fi
