Updated to use the internal APT/Resource mirror
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#Nextcloud major release version
|
||||
nxtVer=18
|
||||
|
||||
#Configuring nginx
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/Nginx-unconfigured -O /tmp/nginx-siteconf
|
||||
@@ -20,7 +19,7 @@ if [ -z ${ignphpcms+x} ]; then ignphpcms=0;fi
|
||||
fi
|
||||
|
||||
#Getting Nextcloud
|
||||
wget -t7 https://download.nextcloud.com/server/releases/latest-"$nxtVer".tar.bz2 -O /tmp/nextcloud.tar.bz2
|
||||
wget -t7 http://mirror.nxdi.nl/resources/nextcloud/latest.tar.bz2 -O /tmp/nextcloud.tar.bz2
|
||||
tar jxf /tmp/nextcloud.tar.bz2 -C /tmp
|
||||
cp -a /tmp/nextcloud/. /var/www/"$domain"/html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user