mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Suppress spurious output
Suppress spurious output while testing for the presence of the virtualenv or python-virtualenv package.
This commit is contained in:
parent
0c704fa7f2
commit
55d1f68c77
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue