anchor.diff:    echo INSTALLER=$INSTALLER
     echo INSTALLERURL=$INSTALLERURL
     echo URLBITS=$URLBITS
  +  echo URLVERSION=$URLVERSION
  +  echo URLMAJORMINOR=$URLMAJORMINOR
     echo MASTHEADURL=$MASTHEADURL
     echo DEBDIST=$DEBDIST
     echo
  
positive.code: if [ -n "$1" ]; then
    MASTHEADURL="http://$1:52311/masthead/masthead.afxm"
    RELAYFQDN=$1
  fi
  
  # check for x32bit or x64bit OS
  MACHINETYPE=`uname -m`
  
negative.code:   dpkg -i $INSTALLER
  fi
  if [[ $INSTALLER == *.pkg ]]; then
    # PKG type
    #   Could be Mac OS X, Solaris, or AIX
    if command_exists installer ; then
      #  Mac OS X
      installer -pkg $INSTALLER -target /
    else
      if command_exists pkgadd ; then
          # TODO: test case for Solaris
          pkgadd -d $INSTALLER
      fi # pkgadd
    fi # installer
  fi # *.pkg install file
  if [[ $INSTALLER == *.rpm ]]; then
    #  linux (RPM)
    # if file `/etc/init.d/besclient` exists then do upgrade
  