#!/bin/sh
#-----------------------------------------------------
# getflash (automatic update the plugin with the last version available)
# 20151023 ASRI: first version for getflash-1.5.7
#-----------------------------------------------------

##  ANL01 = Application Name writing Lowercase => to be use in different parts of the script
ANL01="getflash"
APPBIN="/usr/sbin/$ANL01"
APPPREFS="$HOME/.getflash/getflash-prefs"
APPLAUNCHER="$APPBIN -a" # -a for automatic search/update


## Check if need to start APPLAUNCHER
. $APPPREFS
if [ $AUTOUPDATECHECK = "true" ];then
	sleep $AUTOUPDATESTARTUPDELAY
	$APPLAUNCHER &
fi


exit 0
