macOS: Don't try to copy a nonexistent plist

In the ChmodBPF postinstall script, don't try to copy
org.wireshark.ChmodBPF.plist from a nonexistent location.

Ping #18734.
This commit is contained in:
Gerald Combs 2022-12-30 18:03:14 -08:00
parent 3a23f6e6c9
commit b15eb8a82f
1 changed files with 0 additions and 2 deletions

View File

@ -26,8 +26,6 @@ fi
dseditgroup -q -o edit -a "$USER" -t user "$BPF_GROUP"
cp "/Library/Application Support/Wireshark/ChmodBPF/org.wireshark.ChmodBPF.plist" \
"$CHMOD_BPF_PLIST"
chmod u=rw,g=r,o=r "$CHMOD_BPF_PLIST"
chown root:wheel "$CHMOD_BPF_PLIST"