sudo: not found

Executed as root

    git clone https://github.com/letsencrypt/letsencrypt
    cd letsencrypt/
    ./letsencrypt-auto --help

failed with message

    ./letsencrypt-auto: 171: ./letsencrypt-auto: sudo: not found
This commit is contained in:
David 2016-02-15 09:29:29 +01:00
parent f3894fb9e9
commit c83517c6f1

View file

@ -168,7 +168,7 @@ BootstrapDebCommon() {
/bin/echo '(Backports are only installed if explicitly requested via "apt-get install -t wheezy-backports")'
fi
sudo sh -c "echo $BACKPORT_SOURCELINE >> /etc/apt/sources.list.d/$BACKPORT_NAME.list"
$SUDO sh -c "echo $BACKPORT_SOURCELINE >> /etc/apt/sources.list.d/$BACKPORT_NAME.list"
$SUDO apt-get update
fi
fi