Replaces a couple of 'sudo apt-get install -y' instances by '$install'

This commit is contained in:
Jose Pedro Oliveira
2013-09-14 02:21:24 +01:00
parent de2680152b
commit 40ad3a1bf9
+3 -3
View File
@@ -269,12 +269,12 @@ function wireshark {
return
fi
sudo apt-get install -y wireshark tshark libgtk2.0-dev
$install wireshark tshark libgtk2.0-dev
if [ "$DIST" = "Ubuntu" ] && [ "$RELEASE" != "10.04" ]; then
# Install newer version
sudo apt-get install -y scons mercurial libglib2.0-dev
sudo apt-get install -y libwiretap-dev libwireshark-dev
$install scons mercurial libglib2.0-dev
$install libwiretap-dev libwireshark-dev
cd $BUILD_DIR
hg clone https://bitbucket.org/barnstorm/of-dissector
if [[ -z "$WS_DISSECTOR_REV" ]]; then