Skip to content

Commit bee9db5

Browse files
authored
remove live source (#2283)
Signed-off-by: enoch85 <github@hanssonit.se>
1 parent 7cec7c3 commit bee9db5

File tree

102 files changed

+119
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+119
-119
lines changed

addons/0-byte-files.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
true
55
SCRIPT_NAME="Check for 0-Byte files"
66
# shellcheck source=lib.sh
7-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
7+
source /var/scripts/fetch_lib.sh
88

99
filesystems[0]="$NCDATA"
1010
cd "$NCDATA"

addons/automatic_updates.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
true
66
SCRIPT_NAME="Automatic Updates"
77
# shellcheck source=lib.sh
8-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
8+
source /var/scripts/fetch_lib.sh
99
SCRIPT_EXPLAINER="This option will update your server every week on Saturdays at $AUT_UPDATES_TIME:00.
1010
The update will run the built in script '$SCRIPTS/update.sh' which will update both the server packages and Nextcloud itself.\n
1111
You can read more about it here: https://www.techandme.se/nextcloud-update-is-now-fully-automated/

addons/cookielifetime.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
true
66
SCRIPT_NAME="Set Cookie Lifetime"
77
# shellcheck source=lib.sh
8-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
8+
source /var/scripts/fetch_lib.sh
99

1010
print_text_in_color "$ICyan" "Configuring Cookie Lifetime timeout..."
1111

addons/database_shrinking.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
true
77
SCRIPT_NAME="Database Shrinking"
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010
SCRIPT_EXPLAINER="This script allows to shrink your database if it has grown too much due to the usage of external storage.
1111
If you don't use external storage, you should NOT run this script!"
1212

addons/deSEC/desec.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="deSEC Registration"
77
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."
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010

1111

1212
prompt_dedyn_subdomain(){

addons/deSEC/desec_subdomain.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SCRIPT_EXPLAINER="This script enables you to add a subdomain to your existing de
88
99
You can also remove existing subdomains (RRsets) with this script. If you want to remove, please choose 'Uninstall' in the next menu."
1010
# shellcheck source=lib.sh
11-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
11+
source /var/scripts/fetch_lib.sh
1212

1313
# Check for errors + debug code and abort if something isn't right
1414
# 1 = ON

addons/deSEC/remove_desec.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="deSEC Removal"
77
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."
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010

1111
# Check for errors + debug code and abort if something isn't right
1212
# 1 = ON

addons/fix_invalid_modification_time.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
true
66
SCRIPT_NAME="Fix 'Could not update metadata due to invalid modified time'."
77
# shellcheck source=lib.sh
8-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
8+
source /var/scripts/fetch_lib.sh
99

1010
# Check if root
1111
root_check

addons/harden-ssh.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ true
77
SCRIPT_NAME="SSH Hardening"
88
SCRIPT_EXPLAINER="This script hardens the SSH settings based on Lynis security check."
99
# shellcheck source=lib.sh
10-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
10+
source /var/scripts/fetch_lib.sh
1111

1212
# Check for errors + debug code and abort if something isn't right
1313
# 1 = ON

addons/locales.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
true
66
SCRIPT_NAME="Locales"
77
# shellcheck source=lib.sh
8-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
8+
source /var/scripts/fetch_lib.sh
99

1010
# Check for errors + debug code and abort if something isn't right
1111
# 1 = ON

addons/locate_mirror.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
true
66
SCRIPT_NAME="Locate Mirror"
77
# shellcheck source=lib.sh
8-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
8+
source /var/scripts/fetch_lib.sh
99

1010
# Must be root
1111
root_check

addons/redis-server-ubuntu.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
true
33
SCRIPT_NAME="Redis Server Ubuntu"
44
# shellcheck source=lib.sh
5-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
5+
source /var/scripts/fetch_lib.sh
66

77
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
88

addons/security.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ As it's kind of intrusive, it could lead to things stop working. But on the othe
1313
Please run it own your own risk!"
1414

1515
# shellcheck source=lib.sh
16-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
16+
source /var/scripts/fetch_lib.sh
1717

1818
# Check for errors + debug code and abort if something isn't right
1919
# 1 = ON

addons/smtp-mail.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SCRIPT_NAME="SMTP Relay with msmtp"
88
SCRIPT_EXPLAINER="This script will setup an SMTP Relay (Mail Server) in your Nextcloud Server \
99
that will be used to send emails about failed cronjob's and such."
1010
# shellcheck source=lib.sh
11-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
11+
source /var/scripts/fetch_lib.sh
1212

1313
# Check for errors + debug code and abort if something isn't right
1414
# 1 = ON

apps/adminer.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="Adminer"
77
SCRIPT_EXPLAINER="Adminer is a full-featured database management tool written in PHP."
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010

1111
# Check for errors + debug code and abort if something isn't right
1212
# 1 = ON

apps/bitwarden_mailconfig.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="Bitwarden Mail Configuration"
77
SCRIPT_EXPLAINER="This script lets you configure your mailserver settings for Bitwarden."
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010

1111
# Check for errors + debug code and abort if something isn't right
1212
# 1 = ON

apps/bitwarden_registration.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
true
66
SCRIPT_NAME="Bitwarden Registration"
77
# shellcheck source=lib.sh
8-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
8+
source /var/scripts/fetch_lib.sh
99

1010
# Check for errors + debug code and abort if something isn't right
1111
# 1 = ON

apps/bpytop.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="BPYTOP"
77
SCRIPT_EXPLAINER="BPYTOP is an amazing alternative to resource-monitor software like top or htop."
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010

1111
# Check for errors + debug code and abort if something isn't right
1212
# 1 = ON

apps/clamav.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SCRIPT_EXPLAINER="This script installs the open-source antivirus-software ClamAV
88
and configures Nextcloud to detect infected files already during the upload.
99
At the end of the script, you will be able to choose to set up a weekly full scan of all files."
1010
# shellcheck source=lib.sh
11-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
11+
source /var/scripts/fetch_lib.sh
1212

1313
# Check for errors + debug code and abort if something isn't right
1414
# 1 = ON
@@ -199,7 +199,7 @@ cat << CLAMAV_REPORT > "$SCRIPTS"/clamav-fullscan.sh
199199
200200
# T&M Hansson IT AB © - 2022, https://www.hanssonit.se/
201201
202-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
202+
source /var/scripts/fetch_lib.sh
203203
204204
# Variables/arrays
205205
FULLSCAN_DONE=""

apps/collabora_docker.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="Collabora (Docker)"
77
SCRIPT_EXPLAINER="This script will install the Collabora Office Server bundled with Docker"
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010

1111
# Check for errors + debug code and abort if something isn't right
1212
# 1 = ON
@@ -56,7 +56,7 @@ NCDOMAIN=$(nextcloud_occ_no_check config:system:get overwrite.cli.url | sed 's|h
5656

5757
# Curl the library another time to get the correct https_conf
5858
# shellcheck source=lib.sh
59-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
59+
source /var/scripts/fetch_lib.sh
6060

6161
# Get all needed variables from the library
6262
nc_update

apps/collabora_integrated.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="Collabora (Integrated)"
77
SCRIPT_EXPLAINER="This script will install the integrated Collabora Office Server"
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010

1111
# Get all needed variables from the library
1212
nc_update

apps/extract.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ true
77
SCRIPT_NAME="Extract for Nextcloud"
88
SCRIPT_EXPLAINER="$SCRIPT_NAME enables archive extraction inside your Nextcloud."
99
# shellcheck source=lib.sh
10-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
10+
source /var/scripts/fetch_lib.sh
1111

1212
# Check for errors + debug code and abort if something isn't right
1313
# 1 = ON

apps/face-recognition.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ true
77
SCRIPT_NAME="Face Recognition"
88
SCRIPT_EXPLAINER="The $SCRIPT_NAME app allows to automatically scan for faces inside your Nextcloud."
99
# shellcheck source=lib.sh
10-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
10+
source /var/scripts/fetch_lib.sh
1111

1212
# Check for errors + debug code and abort if something isn't right
1313
# 1 = ON

apps/fail2ban.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ signs -- too many password failures, seeking for exploits, etc.
1111
Generally Fail2Ban is then used to update firewall rules to \
1212
reject the IP addresses for a specified amount of time."
1313
# shellcheck source=lib.sh
14-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
14+
source /var/scripts/fetch_lib.sh
1515

1616
# Get all needed variables from the library
1717
nc_update
@@ -226,7 +226,7 @@ then
226226
fi
227227
228228
# Report if something was found
229-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
229+
source /var/scripts/fetch_lib.sh
230230
if ! send_mail "Your daily Fail2Ban report" "These IP's got banned today:
231231
\$BANNED_IPS"
232232
then

apps/fulltextsearch.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ true
77
SCRIPT_NAME="Full Text Search"
88
SCRIPT_EXPLAINER="Full Text Search provides OpenSearch for Nextcloud, which makes it possible to search for text inside files."
99
# shellcheck source=lib.sh
10-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
10+
source /var/scripts/fetch_lib.sh
1111

1212
# Get all needed variables from the library
1313
ncdb

apps/midnight-commander.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ that provides a flexible, powerful, and convenient set of file and directory ope
1010
It is capable of running in either a console or an xterm under X11.
1111
Its basic operation is easily mastered by the novice while providing a rich feature set and extensive customization."
1212
# shellcheck source=lib.sh
13-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
13+
source /var/scripts/fetch_lib.sh
1414

1515
# Check for errors + debug code and abort if something isn't right
1616
# 1 = ON

apps/netdata.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The tool is designed to visualize activity in the greatest possible detail, \
1111
allowing the user to obtain an overview of what is happening \
1212
and what has just happened in their system or application."
1313
# shellcheck source=lib.sh
14-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
14+
source /var/scripts/fetch_lib.sh
1515

1616
# Check for errors + debug code and abort if something isn't right
1717
# 1 = ON

apps/notify_push.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ By providing a way for the server to send update notifications to the clients, \
1212
the need for the clients to make these checks can be greatly reduced, \
1313
which reduces the load on the servern and delivers notifications to the clients in some cases faster."
1414
# shellcheck source=lib.sh
15-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
15+
source /var/scripts/fetch_lib.sh
1616

1717
# Check for errors + debug code and abort if something isn't right
1818
# 1 = ON

apps/onlyoffice_docker.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="OnlyOffice (Docker)"
77
SCRIPT_EXPLAINER="This script will install the OnlyOffice Document Server bundled with Docker"
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010

1111
# Check for errors + debug code and abort if something isn't right
1212
# 1 = ON
@@ -69,7 +69,7 @@ NCDOMAIN=$(nextcloud_occ_no_check config:system:get overwrite.cli.url | sed 's|h
6969

7070
true
7171
# shellcheck source=lib.sh
72-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
72+
source /var/scripts/fetch_lib.sh
7373

7474
# Get all needed variables from the library
7575
nc_update

apps/onlyoffice_integrated.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="OnlyOffice (Integrated)"
77
SCRIPT_EXPLAINER="This script will install the integrated OnlyOffice Documentserver Community."
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh
1010

1111
# Get all needed variables from the library
1212
nc_update

apps/pdfannotate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SCRIPT_NAME="PDF Annotations"
88
SCRIPT_EXPLAINER="This script allows to easily install PDF Annotations, \
99
a tool to annotate any PDF document inside Nextcloud."
1010
# shellcheck source=lib.sh
11-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
11+
source /var/scripts/fetch_lib.sh
1212

1313
# Check for errors + debug code and abort if something isn't right
1414
# 1 = ON

apps/pico_cms.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ true
77
SCRIPT_NAME="Pico CMS"
88
SCRIPT_EXPLAINER="This script allows to easily install Pico CMS, a leightweight CMS integration in Nextcloud."
99
# shellcheck source=lib.sh
10-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
10+
source /var/scripts/fetch_lib.sh
1111

1212
# Check for errors + debug code and abort if something isn't right
1313
# 1 = ON
@@ -158,7 +158,7 @@ They can however be hosted on the same server, but would require separate DNS en
158158

159159
true
160160
# shellcheck source=lib.sh
161-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
161+
source /var/scripts/fetch_lib.sh
162162

163163
# Get all needed variables from the library
164164
nc_update

apps/previewgenerator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SCRIPT_NAME="Preview Generator"
77
SCRIPT_EXPLAINER="This script will install the Preview Generator.
88
It can speedup the loading of previews in Nextcloud a lot."
99
# shellcheck source=lib.sh
10-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
10+
source /var/scripts/fetch_lib.sh
1111

1212
# Check for errors + debug code and abort if something isn't right
1313
# 1 = ON

apps/smbmount.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SCRIPT_NAME="SMB Mount"
88
SCRIPT_EXPLAINER="This script automates mounting SMB-shares locally in your \
99
system and adds them automatically as external storage to your Nextcloud."
1010
# shellcheck source=lib.sh
11-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
11+
source /var/scripts/fetch_lib.sh
1212

1313
# Check for errors + debug code and abort if something isn't right
1414
# 1 = ON

apps/talk.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SCRIPT_EXPLAINER="This script installs Nextcloud Talk and also offers the possib
88
to install the so-called High-Performance-Backend, which makes it possible to host more video calls than it would be with the standard Talk app. \
99
It's called 'Talk Signaling' and you will be offered to install it as part two of this script."
1010
# shellcheck source=lib.sh
11-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
11+
source /var/scripts/fetch_lib.sh
1212

1313
# Get all needed variables from the library
1414
nc_update
@@ -207,7 +207,7 @@ They can however be hosted on the same server, but would require separate DNS en
207207

208208
# curl the lib another time to get the correct https_conf
209209
# shellcheck source=lib.sh
210-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
210+
source /var/scripts/fetch_lib.sh
211211

212212
# Notification
213213
msg_box "Before continuing, please make sure that you have you have \

apps/tmbitwarden.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Bitwarden platform offers a variety of client applications including a \
1010
web interface, desktop applications, browser extensions, mobile apps, and a CLI.
1111
Bitwarden offers a cloud-hosted service as well as the ability to deploy the solution on-premises."
1212
# shellcheck source=lib.sh
13-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
13+
source /var/scripts/fetch_lib.sh
1414

1515
# Check for errors + debug code and abort if something isn't right
1616
# 1 = ON
@@ -220,7 +220,7 @@ fi
220220

221221
# Curl the lib another time to get the correct HTTPS_CONF
222222
# shellcheck source=lib.sh
223-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
223+
source /var/scripts/fetch_lib.sh
224224

225225
# Check if $SUBDOMAIN exists and is reachable
226226
print_text_in_color "$ICyan" "Checking if $SUBDOMAIN exists and is reachable..."

0 commit comments

Comments
 (0)