Does this bit of shell script do anything useful?
dir_name=`/usr/bin/dirname $0`
prog_name=`/usr/bin/basename $0`
installer=$dir_name/$prog_name
Isn't this equivalent to the following?
installer=$0