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
path: root/old
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2020-10-03 22:09:15 +0300
committerGitHub <noreply@github.com>2020-10-03 22:09:15 +0300
commitf251b0354996674b1d8ea148f68eccec730323ca (patch)
treedd26d793d0492ffd9b6e1e363c3051dd8f32d694 /old
parentda449199f07fc10adf75bbe5965e02bff05a7d92 (diff)
go live with fetch lib (#1520)
Signed-off-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'old')
-rw-r--r--old/format-sda-nuc-server.sh2
-rw-r--r--old/modsecurity.sh2
-rw-r--r--old/ntpdate.sh2
-rw-r--r--old/spreedme.sh2
-rw-r--r--old/test_connection.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/old/format-sda-nuc-server.sh b/old/format-sda-nuc-server.sh
index 967f94d3..fde24982 100644
--- a/old/format-sda-nuc-server.sh
+++ b/old/format-sda-nuc-server.sh
@@ -6,7 +6,7 @@
true
SCRIPT_NAME="Format sda NUC Server"
# shellcheck source=lib.sh
-. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
# Check if root
root_check
diff --git a/old/modsecurity.sh b/old/modsecurity.sh
index 7386f12b..a496caa2 100644
--- a/old/modsecurity.sh
+++ b/old/modsecurity.sh
@@ -6,7 +6,7 @@
true
SCRIPT_NAME="Modsecurity"
# shellcheck source=lib.sh
-. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
print_text_in_color "$ICyan" "Installing ModSecurity..."
diff --git a/old/ntpdate.sh b/old/ntpdate.sh
index a5836b80..5a166d02 100644
--- a/old/ntpdate.sh
+++ b/old/ntpdate.sh
@@ -6,7 +6,7 @@
true
SCRIPT_NAME="Ntpdate"
# shellcheck source=lib.sh
-. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
# Check for errors + debug code and abort if something isn't right
# 1 = ON
diff --git a/old/spreedme.sh b/old/spreedme.sh
index 67cfcb38..757fd9e6 100644
--- a/old/spreedme.sh
+++ b/old/spreedme.sh
@@ -6,7 +6,7 @@
true
SCRIPT_NAME="Spreedme"
# shellcheck source=lib.sh
-. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
# Get all needed variables from the library
nc_update
diff --git a/old/test_connection.sh b/old/test_connection.sh
index 205bfaea..2cdcd0bc 100644
--- a/old/test_connection.sh
+++ b/old/test_connection.sh
@@ -3,7 +3,7 @@
true
SCRIPT_NAME="Test connection"
# shellcheck source=lib.sh
-. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
# T&M Hansson IT AB © - 2020, https://www.hanssonit.se/