From 8183cb626291ea8751cbfb636eb5413887812fd6 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Mon, 13 Feb 2012 11:23:39 -0800 Subject: [PATCH] Handle libwireshark0/libwireshark1 --- util/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/install.sh b/util/install.sh index ab8d739..b909af5 100755 --- a/util/install.sh +++ b/util/install.sh @@ -175,7 +175,8 @@ function of { # For now, just copy it to the global WS plugin dir. # Tested on Ubuntu 11.04. if [ -e /var/packet-openflow.so ]; then - cp /var/packet-openflow.so /usr/lib/wireshark/libwireshark0/plugins + WS_DIR=`ls -d /usr/lib/wireshark/libwireshark* | head -1` + cp /var/packet-openflow.so $WS_DIR/plugins/ fi # Copy coloring rules: OF is white-on-blue: