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/addons
diff options
context:
space:
mode:
authorDaniel Hansson <mailto@danielhansson.nu>2022-05-03 23:08:17 +0300
committerGitHub <noreply@github.com>2022-05-03 23:08:17 +0300
commitbee9db5b5ee6c9d05ad398c1f2c9fe98e65beba8 (patch)
treebc613dbdd4c7b9682e5f6274b667a200d93af821 /addons
parent7cec7c347349a4858df29bd28437de1d2065cb5a (diff)
remove live source (#2283)
Signed-off-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'addons')
-rw-r--r--addons/0-byte-files.sh2
-rw-r--r--addons/automatic_updates.sh2
-rw-r--r--addons/cookielifetime.sh2
-rw-r--r--addons/database_shrinking.sh2
-rw-r--r--addons/deSEC/desec.sh2
-rw-r--r--addons/deSEC/desec_subdomain.sh2
-rw-r--r--addons/deSEC/remove_desec.sh2
-rw-r--r--addons/fix_invalid_modification_time.sh2
-rw-r--r--addons/harden-ssh.sh2
-rw-r--r--addons/locales.sh2
-rw-r--r--addons/locate_mirror.sh2
-rw-r--r--addons/redis-server-ubuntu.sh2
-rw-r--r--addons/security.sh2
-rw-r--r--addons/smtp-mail.sh2
14 files changed, 14 insertions, 14 deletions
diff --git a/addons/0-byte-files.sh b/addons/0-byte-files.sh
index 8554bcc8..ac13bac2 100644
--- a/addons/0-byte-files.sh
+++ b/addons/0-byte-files.sh
@@ -4,7 +4,7 @@
true
SCRIPT_NAME="Check for 0-Byte files"
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
filesystems[0]="$NCDATA"
cd "$NCDATA"
diff --git a/addons/automatic_updates.sh b/addons/automatic_updates.sh
index b1278c19..161a812b 100644
--- a/addons/automatic_updates.sh
+++ b/addons/automatic_updates.sh
@@ -5,7 +5,7 @@
true
SCRIPT_NAME="Automatic Updates"
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
SCRIPT_EXPLAINER="This option will update your server every week on Saturdays at $AUT_UPDATES_TIME:00.
The update will run the built in script '$SCRIPTS/update.sh' which will update both the server packages and Nextcloud itself.\n
You can read more about it here: https://www.techandme.se/nextcloud-update-is-now-fully-automated/
diff --git a/addons/cookielifetime.sh b/addons/cookielifetime.sh
index 637c31c5..4e73de4e 100644
--- a/addons/cookielifetime.sh
+++ b/addons/cookielifetime.sh
@@ -5,7 +5,7 @@
true
SCRIPT_NAME="Set Cookie Lifetime"
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
print_text_in_color "$ICyan" "Configuring Cookie Lifetime timeout..."
diff --git a/addons/database_shrinking.sh b/addons/database_shrinking.sh
index 0493e5e8..a5ce355e 100644
--- a/addons/database_shrinking.sh
+++ b/addons/database_shrinking.sh
@@ -6,7 +6,7 @@
true
SCRIPT_NAME="Database Shrinking"
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
SCRIPT_EXPLAINER="This script allows to shrink your database if it has grown too much due to the usage of external storage.
If you don't use external storage, you should NOT run this script!"
diff --git a/addons/deSEC/desec.sh b/addons/deSEC/desec.sh
index d10a6389..a79dfcd5 100644
--- a/addons/deSEC/desec.sh
+++ b/addons/deSEC/desec.sh
@@ -6,7 +6,7 @@ true
SCRIPT_NAME="deSEC Registration"
SCRIPT_EXPLAINER="This script will automatically register a domain of your liking, secure it with TLS, and set it to automatically update your external IP address with DDNS."
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
prompt_dedyn_subdomain(){
diff --git a/addons/deSEC/desec_subdomain.sh b/addons/deSEC/desec_subdomain.sh
index f542b76e..cc76f610 100644
--- a/addons/deSEC/desec_subdomain.sh
+++ b/addons/deSEC/desec_subdomain.sh
@@ -8,7 +8,7 @@ SCRIPT_EXPLAINER="This script enables you to add a subdomain to your existing de
You can also remove existing subdomains (RRsets) with this script. If you want to remove, please choose 'Uninstall' in the next menu."
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
# Check for errors + debug code and abort if something isn't right
# 1 = ON
diff --git a/addons/deSEC/remove_desec.sh b/addons/deSEC/remove_desec.sh
index e96393df..1411a4ab 100644
--- a/addons/deSEC/remove_desec.sh
+++ b/addons/deSEC/remove_desec.sh
@@ -6,7 +6,7 @@ true
SCRIPT_NAME="deSEC Removal"
SCRIPT_EXPLAINER="This script lets you remove your deSEC account.\n\nMaybe you want to re-add it again with another domain? In that case this is what you need to run first, since the install script only can handle one email address at the time."
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
# Check for errors + debug code and abort if something isn't right
# 1 = ON
diff --git a/addons/fix_invalid_modification_time.sh b/addons/fix_invalid_modification_time.sh
index 2ac4bebc..544ba99e 100644
--- a/addons/fix_invalid_modification_time.sh
+++ b/addons/fix_invalid_modification_time.sh
@@ -5,7 +5,7 @@
true
SCRIPT_NAME="Fix 'Could not update metadata due to invalid modified time'."
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
# Check if root
root_check
diff --git a/addons/harden-ssh.sh b/addons/harden-ssh.sh
index 8171e45e..d2ccb316 100644
--- a/addons/harden-ssh.sh
+++ b/addons/harden-ssh.sh
@@ -7,7 +7,7 @@ true
SCRIPT_NAME="SSH Hardening"
SCRIPT_EXPLAINER="This script hardens the SSH settings based on Lynis security check."
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
# Check for errors + debug code and abort if something isn't right
# 1 = ON
diff --git a/addons/locales.sh b/addons/locales.sh
index 106e24a3..ce591b44 100644
--- a/addons/locales.sh
+++ b/addons/locales.sh
@@ -5,7 +5,7 @@
true
SCRIPT_NAME="Locales"
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
# Check for errors + debug code and abort if something isn't right
# 1 = ON
diff --git a/addons/locate_mirror.sh b/addons/locate_mirror.sh
index a869ddce..f54148ca 100644
--- a/addons/locate_mirror.sh
+++ b/addons/locate_mirror.sh
@@ -5,7 +5,7 @@
true
SCRIPT_NAME="Locate Mirror"
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
# Must be root
root_check
diff --git a/addons/redis-server-ubuntu.sh b/addons/redis-server-ubuntu.sh
index 9328a9a6..b1a794d1 100644
--- a/addons/redis-server-ubuntu.sh
+++ b/addons/redis-server-ubuntu.sh
@@ -2,7 +2,7 @@
true
SCRIPT_NAME="Redis Server Ubuntu"
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
diff --git a/addons/security.sh b/addons/security.sh
index 1c368c89..263a6e92 100644
--- a/addons/security.sh
+++ b/addons/security.sh
@@ -13,7 +13,7 @@ As it's kind of intrusive, it could lead to things stop working. But on the othe
Please run it own your own risk!"
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
# Check for errors + debug code and abort if something isn't right
# 1 = ON
diff --git a/addons/smtp-mail.sh b/addons/smtp-mail.sh
index ac1ea57f..68d09b7d 100644
--- a/addons/smtp-mail.sh
+++ b/addons/smtp-mail.sh
@@ -8,7 +8,7 @@ SCRIPT_NAME="SMTP Relay with msmtp"
SCRIPT_EXPLAINER="This script will setup an SMTP Relay (Mail Server) in your Nextcloud Server \
that will be used to send emails about failed cronjob's and such."
# shellcheck source=lib.sh
-source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+source /var/scripts/fetch_lib.sh
# Check for errors + debug code and abort if something isn't right
# 1 = ON