diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2019-07-20 11:46:51 +0300 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-07-24 09:40:35 +0000 |
commit | 4d41836db429930c3313f0beb3a7a06ae7238680 (patch) | |
tree | 0db3cb0e0b1c3300fbf17814e3acb17e77ee79f0 /debian | |
parent | 01aa9bf48e31e34986a51554955820bcf49b6e8f (diff) |
debian: Fix permission change in case of local diversions
/usr/bin/dumpcap may be locally diverted to somewhere else, so let's
query dpkg-divert for the current location.
Change-Id: I4347d390b2c1e94383308d274b113a23bec62f5b
Reviewed-on: https://code.wireshark.org/review/34040
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/wireshark-common.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/wireshark-common.postinst b/debian/wireshark-common.postinst index 8857301274..8e6df32f1f 100644 --- a/debian/wireshark-common.postinst +++ b/debian/wireshark-common.postinst @@ -3,7 +3,7 @@ set -e . /usr/share/debconf/confmodule -PROGRAM=/usr/bin/dumpcap +PROGRAM=$(dpkg-divert --truename /usr/bin/dumpcap) GROUP=wireshark if ! dpkg-statoverride --list $PROGRAM > /dev/null; then |