a2server-6-samba.txt: More path independence

This commit is contained in:
T. Joseph Carter 2015-11-23 16:20:57 -08:00
parent 8cfa6cb66b
commit 147f0dceec

View File

@ -29,7 +29,7 @@ if [[ ! $autoAnswerYes || -f /tmp/a2server-setupWindowsSharing ]]; then
fi
sudo apt-get -y install samba
[[ -f /usr/bin/smbpasswd ]] || sudo apt-get -y install samba-common-bin
command -v smbpasswd >/dev/null || sudo apt-get -y install samba-common-bin
sudo apt-get clean
fi