Remove lsb_release dependency.

This commit is contained in:
Brad Warren 2019-01-17 09:38:47 -08:00
parent 693bac4b49
commit 954837b4c4
2 changed files with 4 additions and 18 deletions

View file

@ -378,15 +378,8 @@ BootstrapDebCommon() {
if dpkg --compare-versions 1.0 gt "$AUGVERSION" ; then
if lsb_release -a | grep -q wheezy ; then
AddBackportRepo wheezy-backports "deb http://http.debian.net/debian wheezy-backports main"
elif lsb_release -a | grep -q precise ; then
# XXX add ARM case
AddBackportRepo precise-backports "deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse"
else
echo "No libaugeas0 version is available that's new enough to run the"
echo "Certbot apache plugin..."
fi
echo "No libaugeas0 version is available that's new enough to run the"
echo "Certbot apache plugin..."
# XXX add a case for ubuntu PPAs
fi

View file

@ -88,15 +88,8 @@ BootstrapDebCommon() {
if dpkg --compare-versions 1.0 gt "$AUGVERSION" ; then
if lsb_release -a | grep -q wheezy ; then
AddBackportRepo wheezy-backports "deb http://http.debian.net/debian wheezy-backports main"
elif lsb_release -a | grep -q precise ; then
# XXX add ARM case
AddBackportRepo precise-backports "deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse"
else
echo "No libaugeas0 version is available that's new enough to run the"
echo "Certbot apache plugin..."
fi
echo "No libaugeas0 version is available that's new enough to run the"
echo "Certbot apache plugin..."
# XXX add a case for ubuntu PPAs
fi