mirror of
https://github.com/RasppleII/a2cloud.git
synced 2024-12-21 22:29:24 +00:00
setup.txt: missed a test -f that should be a hash
This commit is contained in:
parent
6c59cae33b
commit
6422658d43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user