mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 19:52:34 +02:00
Fix letsencrypt auto source (#4093)
* Some shells don't like == * run build.py
This commit is contained in:
committed by
Peter Eckersley
parent
02615c2ac6
commit
6a55de45ba
@@ -86,7 +86,7 @@ if [ $BASENAME = "letsencrypt-auto" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set ASSUME_YES to 1 if QUIET (i.e. --quiet implies --non-interactive)
|
# Set ASSUME_YES to 1 if QUIET (i.e. --quiet implies --non-interactive)
|
||||||
if [ $QUIET == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
ASSUME_YES=1
|
ASSUME_YES=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -213,7 +213,7 @@ BootstrapDebCommon() {
|
|||||||
#
|
#
|
||||||
# - Debian 6.0.10 "squeeze" (x64)
|
# - Debian 6.0.10 "squeeze" (x64)
|
||||||
|
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG='-qq'
|
QUIET_FLAG='-qq'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -332,7 +332,7 @@ BootstrapRpmCommon() {
|
|||||||
if [ "$ASSUME_YES" = 1 ]; then
|
if [ "$ASSUME_YES" = 1 ]; then
|
||||||
yes_flag="-y"
|
yes_flag="-y"
|
||||||
fi
|
fi
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG='--quiet'
|
QUIET_FLAG='--quiet'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -406,7 +406,7 @@ BootstrapSuseCommon() {
|
|||||||
install_flags="-l"
|
install_flags="-l"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG='-qq'
|
QUIET_FLAG='-qq'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -448,7 +448,7 @@ BootstrapArchCommon() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$missing" ]; then
|
if [ "$missing" ]; then
|
||||||
if [ "$QUIET" == 1]; then
|
if [ "$QUIET" = 1]; then
|
||||||
$SUDO pacman -S --needed $missing $noconfirm > /dev/null
|
$SUDO pacman -S --needed $missing $noconfirm > /dev/null
|
||||||
else
|
else
|
||||||
$SUDO pacman -S --needed $missing $noconfirm
|
$SUDO pacman -S --needed $missing $noconfirm
|
||||||
@@ -485,7 +485,7 @@ BootstrapGentooCommon() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
BootstrapFreeBsd() {
|
BootstrapFreeBsd() {
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG="--quiet"
|
QUIET_FLAG="--quiet"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -547,7 +547,7 @@ BootstrapSmartOS() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
BootstrapMageiaCommon() {
|
BootstrapMageiaCommon() {
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG='--quiet'
|
QUIET_FLAG='--quiet'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -560,7 +560,7 @@ BootstrapMageiaCommon() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! $SUDO urpmi --force \
|
if ! $SUDO urpmi --force $QUIET_FLAG \
|
||||||
git \
|
git \
|
||||||
gcc \
|
gcc \
|
||||||
python-augeas \
|
python-augeas \
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ if [ $BASENAME = "letsencrypt-auto" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set ASSUME_YES to 1 if QUIET (i.e. --quiet implies --non-interactive)
|
# Set ASSUME_YES to 1 if QUIET (i.e. --quiet implies --non-interactive)
|
||||||
if [ $QUIET == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
ASSUME_YES=1
|
ASSUME_YES=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ BootstrapArchCommon() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$missing" ]; then
|
if [ "$missing" ]; then
|
||||||
if [ "$QUIET" == 1]; then
|
if [ "$QUIET" = 1]; then
|
||||||
$SUDO pacman -S --needed $missing $noconfirm > /dev/null
|
$SUDO pacman -S --needed $missing $noconfirm > /dev/null
|
||||||
else
|
else
|
||||||
$SUDO pacman -S --needed $missing $noconfirm
|
$SUDO pacman -S --needed $missing $noconfirm
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ BootstrapDebCommon() {
|
|||||||
#
|
#
|
||||||
# - Debian 6.0.10 "squeeze" (x64)
|
# - Debian 6.0.10 "squeeze" (x64)
|
||||||
|
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG='-qq'
|
QUIET_FLAG='-qq'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
BootstrapFreeBsd() {
|
BootstrapFreeBsd() {
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG="--quiet"
|
QUIET_FLAG="--quiet"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
BootstrapMageiaCommon() {
|
BootstrapMageiaCommon() {
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG='--quiet'
|
QUIET_FLAG='--quiet'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ BootstrapRpmCommon() {
|
|||||||
if [ "$ASSUME_YES" = 1 ]; then
|
if [ "$ASSUME_YES" = 1 ]; then
|
||||||
yes_flag="-y"
|
yes_flag="-y"
|
||||||
fi
|
fi
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG='--quiet'
|
QUIET_FLAG='--quiet'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ BootstrapSuseCommon() {
|
|||||||
install_flags="-l"
|
install_flags="-l"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$QUIET" == 1 ]; then
|
if [ "$QUIET" = 1 ]; then
|
||||||
QUIET_FLAG='-qq'
|
QUIET_FLAG='-qq'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user