Fedora: support the -w option (wireshark)

This commit is contained in:
Jose Pedro Oliveira
2013-09-14 02:19:39 +01:00
parent 541ba67daf
commit de2680152b
+8
View File
@@ -261,6 +261,14 @@ function wireshark_version_check {
function wireshark {
echo "Installing Wireshark dissector..."
if [ "$DIST" = "Fedora" ]; then
# Just install Fedora's wireshark RPMS
# Fedora's wirehark >= 1.10.2-2 includes an OF dissector
# (it has been backported from the future Wireshark 1.12 code base)
$install wireshark wireshark-gnome
return
fi
sudo apt-get install -y wireshark tshark libgtk2.0-dev
if [ "$DIST" = "Ubuntu" ] && [ "$RELEASE" != "10.04" ]; then