Wireshark-commits: [Wireshark-commits] rev 41680: /trunk/packaging/macosx/Scripts/ /trunk/packaging

Date: Tue, 20 Mar 2012 04:06:37 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41680

User: guy
Date: 2012/03/19 09:06 PM

Log:
 Now, isn't that swell!  Leopard's dseditgroup doesn't return a failure
 exit status if the group in question doesn't exist, so we can't use
 dseditgroup on Leopard to check whether the access_bpf group exists.
 
 Instead, as per Martin Williams' suggestion in bug 6526, use "dscl .
 -read /groups/{group}" instead; the suggestion came from the addgroup.sh
 script in
 
 	https://developer.apple.com/library/mac/documentation/OpenSource/Conceptual/ShellScripting/ShellScripting.pdf

Directory: /trunk/packaging/macosx/Scripts/
  Changes    Path                       Action
  +1 -1      chmodbpf-postinstall.sh    Modified