mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Various corrections
This commit is contained in:
parent
f4301b8526
commit
90b696ccad
3 changed files with 6 additions and 3 deletions
|
|
@ -31,9 +31,9 @@ RUN update-ca-trust
|
|||
COPY . /home/lea/certbot/letsencrypt-auto-source
|
||||
|
||||
# Tweak uname binary for tests on fake 32bits
|
||||
COPY uname_wrapper /bin
|
||||
COPY uname_wrapper.sh /bin
|
||||
RUN mv /bin/uname /bin/uname_orig \
|
||||
&& mv /bin/uname_wrapper /bin/uname
|
||||
&& mv /bin/uname_wrapper.sh /bin/uname
|
||||
|
||||
USER lea
|
||||
WORKDIR /home/lea
|
||||
|
|
|
|||
|
|
@ -552,7 +552,7 @@ if [ "$1" = "--le-auto-phase2" ]; then
|
|||
# In this situation, we bypass any bootstrap or certbot venv setup.
|
||||
error "Your system is not supported by certbot-auto anymore."
|
||||
|
||||
if [ -f "$VENV_BIN/letsencrypt" ]; then
|
||||
if [ -f "$VENV_BIN/letsencrypt" -a "$INSTALL_ONLY" != 1 ]; then
|
||||
error "Certbot will no longer receive updates."
|
||||
error "Please visit https://certbot.eff.org/ to check for other alternatives."
|
||||
"$VENV_BIN/letsencrypt" "$@"
|
||||
|
|
@ -688,6 +688,8 @@ UNLIKELY_EOF
|
|||
fi
|
||||
|
||||
if [ "$INSTALL_ONLY" = 1 ]; then
|
||||
# If you're modifying any of the code after this point in this `if` block, you may
|
||||
# need to update the "$DEPRECATED_OS" = 1 case at the beginning of phase 2 as well.
|
||||
say "Certbot is installed."
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
1
letsencrypt-auto-source/uname_wrapper → letsencrypt-auto-source/tests/uname_wrapper.sh
Executable file → Normal file
1
letsencrypt-auto-source/uname_wrapper → letsencrypt-auto-source/tests/uname_wrapper.sh
Executable file → Normal file
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
uname_output=$(/bin/uname_orig "$@")
|
||||
|
||||
Loading…
Reference in a new issue