Merge pull request #1953 from cure/patch-3

Suppress spurious output
This commit is contained in:
Peter Eckersley 2015-12-22 16:34:45 -08:00
commit b1a393942b

View file

@ -24,11 +24,11 @@ apt-get update
# distro version (#346)
virtualenv=
if apt-cache show virtualenv > /dev/null ; then
if apt-cache show virtualenv > /dev/null 2>&1; then
virtualenv="virtualenv"
fi
if apt-cache show python-virtualenv > /dev/null ; then
if apt-cache show python-virtualenv > /dev/null 2>&1; then
virtualenv="$virtualenv python-virtualenv"
fi