setup.txt: missed a test -f that should be a hash

This commit is contained in:
T. Joseph Carter 2016-04-05 00:25:19 -07:00
parent 6c59cae33b
commit 6422658d43

View File

@ -525,7 +525,7 @@ if [[ $installADTPro ]]; then
echo "A2CLOUD: xvfb is already installed."
fi
if [[ -f /usr/local/sbin/afpd ]]; then # A2SERVER/netatalk installed
if hash afpd 2>/dev/null; then # A2SERVER/netatalk installed
if [[ ! -d /media/A2SHARED/ADTDISKS || ! $(grep ADTDISKS /usr/local/etc/netatalk/AppleVolumes.default) ]]; then
echo "A2CLOUD: Setting up /usr/local/adtpro/disks for Apple file sharing..."
if [[ ! -d /media/A2SHARED/ADTDISKS ]]; then