mirror of
https://github.com/RasppleII/a2cloud.git
synced 2025-02-21 10:29:15 +00:00
setup.txt: use hash to check for acmd
This commit is contained in:
parent
a23b98fd92
commit
fe7e2f058a
@ -1148,7 +1148,7 @@ fi
|
|||||||
|
|
||||||
# create A2CLOUD disk
|
# 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
|
a2CloudDisk=/usr/local/adtpro/disks/A2CLOUD.PO
|
||||||
else
|
else
|
||||||
a2CloudDisk=
|
a2CloudDisk=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user