From 6bfdd693bce8e591fa336e8e91a190e6a048453d Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Tue, 1 Sep 2020 20:19:06 +0200 Subject: [PATCH] change message for backwards compatibility msg (#1395) --- lets-encrypt/activate-ssl.sh | 8 ++++++-- static/test_connection.sh | 15 ++++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/lets-encrypt/activate-ssl.sh b/lets-encrypt/activate-ssl.sh index af8d67b2..bb9992a9 100644 --- a/lets-encrypt/activate-ssl.sh +++ b/lets-encrypt/activate-ssl.sh @@ -4,7 +4,11 @@ true # shellcheck source=lib.sh . <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh) -# Backwards compatibility -run script LETS_ENC activate-tls +# This is needed since we removed this from the startup script, or changed name so it can't be downloaded anymore +msg_box "You are running an outdated release. + +You see this message only to make it possible to run the first startup script, but as time goes, more and more will we incompatible. + +We urge you to download the latest version as soon as possible: https://github.com/nextcloud/vm/releases" exit diff --git a/static/test_connection.sh b/static/test_connection.sh index b4f5fcdf..bb9992a9 100644 --- a/static/test_connection.sh +++ b/static/test_connection.sh @@ -1 +1,14 @@ -# just here for backwards compatibility +#!/bin/bash +# shellcheck disable=2034,2059 +true +# shellcheck source=lib.sh +. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh) + +# This is needed since we removed this from the startup script, or changed name so it can't be downloaded anymore +msg_box "You are running an outdated release. + +You see this message only to make it possible to run the first startup script, but as time goes, more and more will we incompatible. + +We urge you to download the latest version as soon as possible: https://github.com/nextcloud/vm/releases" + +exit