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