Skip to content

Commit

Permalink
samba.sh fix #261
Browse files Browse the repository at this point in the history
  • Loading branch information
David Personette committed Mar 20, 2020
1 parent d1a453d commit 64db877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \
echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file
echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file
echo " delete veto files = yes" >>$file
[[ ${users:-""} && ! ${users:-""} =~ all ]] &&
[[ ${users:-""} && ! ${users:-""} == all ]] &&
echo " valid users = $(tr ',' ' ' <<< $users)" >>$file
[[ ${admins:-""} && ! ${admins:-""} =~ none ]] &&
echo " admin users = $(tr ',' ' ' <<< $admins)" >>$file
Expand Down

0 comments on commit 64db877

Please sign in to comment.