mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:19:11 +02:00
Suppress spurious output
Suppress spurious output while testing for the presence of the virtualenv or python-virtualenv package.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user