Update debian.sh
the file /etc/envirnment ist just a path it looks like that PATH="/bin"
This commit is contained in:
parent
0e4df5d5d8
commit
cb5c499096
@ -78,7 +78,7 @@ log "Installing python"
|
|||||||
runcmd apt-get install -y -q --no-install-recommends python3 python3-distutils python3-venv
|
runcmd apt-get install -y -q --no-install-recommends python3 python3-distutils python3-venv
|
||||||
python3 -m venv /opt/certbot/
|
python3 -m venv /opt/certbot/
|
||||||
export PATH=/opt/certbot/bin:$PATH
|
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
|
# Install certbot and python dependancies
|
||||||
runcmd wget -qO - https://bootstrap.pypa.io/get-pip.py | python -
|
runcmd wget -qO - https://bootstrap.pypa.io/get-pip.py | python -
|
||||||
if [ "$(getconf LONG_BIT)" = "32" ]; then
|
if [ "$(getconf LONG_BIT)" = "32" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user