Skip to content

Commit 92a36fc

Browse files
author
Kristan Kenney
committed
HSTS language fixes in installer/upgrade scripts
Based on standard resolution of console, the original message was too long.
1 parent 5489024 commit 92a36fc

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,8 @@ if [ "$nginx" = 'yes' ]; then
11051105
fi
11061106

11071107
# Generating dhparam.
1108-
echo "(*) Enabling HTTPS Strict Transport Security (HSTS) support, this will take some time. Please wait..."
1108+
echo "(*) Enabling HTTPS Strict Transport Security (HSTS) support,"
1109+
echo -n " this will take some time. Please wait..."
11091110
openssl dhparam 4096 -out /etc/ssl/dhparam.pem > /dev/null 2>&1 &
11101111
BACK_PID=$!
11111112

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,8 @@ if [ "$nginx" = 'yes' ]; then
10841084
fi
10851085

10861086
# Generating dhparam.
1087-
echo "(*) Enabling HTTPS Strict Transport Security (HSTS) support, this will take some time. Please wait..."
1087+
echo "(*) Enabling HTTPS Strict Transport Security (HSTS) support,"
1088+
echo -n " this will take some time. Please wait..."
10881089
openssl dhparam 4096 -out /etc/ssl/dhparam.pem > /dev/null 2>&1 &
10891090
BACK_PID=$!
10901091

install/upgrade/0.9.8-28.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ if [ ! -z "$BACKEND_PORT" ]; then
7373
fi
7474

7575
# Generating dhparam.
76-
if [ -z /etc/ssl/dhparam.pem ]; then
76+
if [ ! -e /etc/ssl/dhparam.pem ]; then
7777
echo "(*) Enabling HTTPS Strict Transport Security (HSTS) support"
7878
echo -n " This will take some time, please wait..."
7979
openssl dhparam 4096 -out /etc/ssl/dhparam.pem > /dev/null 2>&1 &

0 commit comments

Comments
 (0)