Update wireshark casks: remove postflight (#49501)

* wireshark-chmodbpf: remove postflight

* wireshark: remove postflight
This commit is contained in:
commitay 2018-07-11 23:52:59 +10:00 committed by GitHub
parent fa6ceaca71
commit 686e0c9e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 22 deletions

View File

@ -29,17 +29,6 @@ cask 'wireshark-chmodbpf' do
},
]
postflight do
system_command '/usr/sbin/dseditgroup',
args: [
'-o', 'edit',
'-a', Etc.getpwuid(Process.euid).name,
'-t', 'user',
'--', 'access_bpf'
],
sudo: true
end
uninstall_preflight do
set_ownership '/Library/Application Support/Wireshark'
end

View File

@ -12,17 +12,6 @@ cask 'wireshark' do
pkg "Wireshark #{version} Intel 64.pkg"
postflight do
system_command '/usr/sbin/dseditgroup',
args: [
'-o', 'edit',
'-a', Etc.getpwuid(Process.euid).name,
'-t', 'user',
'--', 'access_bpf'
],
sudo: true
end
uninstall_preflight do
set_ownership '/Library/Application Support/Wireshark'
end