Update wireshark casks: remove postflight (#49501)
* wireshark-chmodbpf: remove postflight * wireshark: remove postflight
This commit is contained in:
parent
fa6ceaca71
commit
686e0c9e3c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue