Skip to content
Snippets Groups Projects
Commit 26684841 authored by Bob Lantz's avatar Bob Lantz
Browse files

Avoid printing out grep results.

parent 7596de59
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ function mn_deps {
sudo aptitude install -y gcc make screen psmisc xterm ssh iperf iproute \
python-setuptools python-networkx
if [ "$DIST" = "Ubuntu" ] && grep '10.04' /etc/*release*; then
if [ "$DIST" = "Ubuntu" ] && [ "`lsb_release -sr`" = "10.04" ]; then
echo "Upgrading networkx to avoid deprecation warning"
sudo easy_install --upgrade networkx
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment