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

github.com/nextcloud/univention-app.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/inst
diff options
context:
space:
mode:
authorNico Gulden <gulden@univention.de>2018-09-28 13:27:50 +0300
committerNico Gulden <gulden@univention.de>2018-09-28 13:27:50 +0300
commitd2e2adf748384d1f2fb8e5713fa33dcd11032d4d (patch)
tree883544784d11f7c34dc0e92f1083bf7aeaafeb90 /inst
parentff199d97978c87a5f69b772e5b2820227fbcc65f (diff)
Fix broken appliance detection
Fixes #67
Diffstat (limited to 'inst')
-rw-r--r--inst3
1 files changed, 2 insertions, 1 deletions
diff --git a/inst b/inst
index 24574fc..44d4b3c 100644
--- a/inst
+++ b/inst
@@ -64,10 +64,11 @@ nextcloud_main() {
}
nextcloud_appliance_detection() {
- appliance_id = $(ucr get umc/web/appliance/id)
+ appliance_id=$(ucr get umc/web/appliance/id)
if [ "$appliance_id" = "nextcloud" ] || [ "$appliance_id" = "collabora" ] || [ "$appliance_id" = "collabora-online" ] || [ "$appliance_id" = "onlyoffice-ds" ]; then
# On appliance mode, the server works with a preliminary, unknown cert
NC_ADDITIONAL_CURL_ARGS="--insecure"
+ echo "Appliance mode has been detected for $appliance_id."
fi
}