Update samba.sh

fixed whitespace
This commit is contained in:
Jonathan Fenske 2018-04-30 16:46:40 -05:00 committed by GitHub
parent ed0f55b328
commit 621ce3cbe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \
echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file
echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file
echo " delete veto files = yes" >>$file echo " delete veto files = yes" >>$file
[[ $share == "homes" ]] && [[ $share == "homes" ]] &&
echo " force user = %S" >>$file && echo " force user = %S" >>$file &&
echo " force group = %S" >>$file echo " force group = %S" >>$file
[[ ${users:-""} && ! ${users:-""} =~ all ]] && [[ ${users:-""} && ! ${users:-""} =~ all ]] &&