Updated to use the internal APT/Resource mirror

This commit is contained in:
b.waal
2020-04-30 13:42:58 +02:00
parent d89ab20c2d
commit ac1381641b

View File

@@ -1,5 +1,4 @@
#Nextcloud major release version #Nextcloud major release version
nxtVer=18
#Configuring nginx #Configuring nginx
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/Nginx-unconfigured -O /tmp/nginx-siteconf 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 fi
#Getting Nextcloud #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 tar jxf /tmp/nextcloud.tar.bz2 -C /tmp
cp -a /tmp/nextcloud/. /var/www/"$domain"/html cp -a /tmp/nextcloud/. /var/www/"$domain"/html