Update debian.sh

the file /etc/envirnment ist just a path it looks like that

PATH="/bin"
This commit is contained in:
Vitamin-X 2022-06-24 16:21:32 +00:00 committed by GitHub
parent 0e4df5d5d8
commit cb5c499096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ log "Installing python"
runcmd apt-get install -y -q --no-install-recommends python3 python3-distutils python3-venv
python3 -m venv /opt/certbot/
export PATH=/opt/certbot/bin:$PATH
grep -qo "/opt/certbot" /etc/environment || echo "$PATH" > /etc/environment
grep -qo "/opt/certbot" /etc/environment || echo "PATH=\"$PATH\"" > /etc/environment
# Install certbot and python dependancies
runcmd wget -qO - https://bootstrap.pypa.io/get-pip.py | python -
if [ "$(getconf LONG_BIT)" = "32" ]; then