5
local fullpath=`echo "$(readlink -f $0)"`
6
local fullpath_length=`echo ${#fullpath}`
7
local scriptname="$(basename $0)"
8
local scriptname_length=`echo ${#scriptname}`
9
local result_length=`echo $fullpath_length - $scriptname_length - 1 | bc`
10
local result=`echo $fullpath | head -c $result_length`
14
currentpath=`currentscriptpath`
18
if [ ! -d /usr/share/hplip ]
20
zenity --info --text "HPLip não está instalado, ou está instalado em outro diretório"
23
gksudo "sh restore-icons-cmd.sh"
b'\\ No newline at end of file'