Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2020-09-07 17:06:19 +0300
committerGitHub <noreply@github.com>2020-09-07 17:06:19 +0300
commit1857c63ec5496c4a2b33d35fa456e9f818a84306 (patch)
tree71d338b540c58dcfb5da64f12170444c578da195 /apps/onlyoffice_integrated.sh
parent20dd9543c3d9dbe0b43e52a76a708e4022d09bd2 (diff)
ask if the domain is correct (#1418)
Diffstat (limited to 'apps/onlyoffice_integrated.sh')
-rw-r--r--apps/onlyoffice_integrated.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/onlyoffice_integrated.sh b/apps/onlyoffice_integrated.sh
index f6340cbe..d95f6de2 100644
--- a/apps/onlyoffice_integrated.sh
+++ b/apps/onlyoffice_integrated.sh
@@ -46,7 +46,14 @@ then
occ_command app:remove onlyoffice
fi
# Revoke LE
- SUBDOMAIN=$(input_box "Please enter the subdomain you are using for OnlyOffice, e.g: office.yourdomain.com")
+ while :
+ do
+ SUBDOMAIN=$(input_box "Please enter the subdomain you are using for OnlyOffice, e.g: office.yourdomain.com")
+ if yesno_box_yes "Is this correct? $SUBDOMAIN"
+ then
+ break
+ fi
+ done
if [ -f "$CERTFILES/$SUBDOMAIN/cert.pem" ]
then
yes no | certbot revoke --cert-path "$CERTFILES/$SUBDOMAIN/cert.pem"