setup.txt: use hash to check for acmd

This commit is contained in:
T. Joseph Carter 2016-04-08 02:52:18 -07:00
parent a23b98fd92
commit fe7e2f058a

View File

@ -1148,7 +1148,7 @@ fi
# create A2CLOUD disk
if [[ ( $updateADTPro || $createBootDisk ) && -f /usr/local/bin/acmd ]]; then
if [[ $updateADTPro || $createBootDisk ]] && hash acmd 2>/dev/null; then
a2CloudDisk=/usr/local/adtpro/disks/A2CLOUD.PO
else
a2CloudDisk=