Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build-devel.sh')
-rw-r--r--build-devel.sh22
1 files changed, 3 insertions, 19 deletions
diff --git a/build-devel.sh b/build-devel.sh
index bfc7bd6a..98af67e1 100644
--- a/build-devel.sh
+++ b/build-devel.sh
@@ -23,27 +23,11 @@ install()
pgrep apt &>/dev/null || break
sleep 1
done
- rm -f /etc/apt/apt.conf.d/20nextcloudpi-upgrades
-
- echo -e "Downloading updates"
- rm -rf /tmp/ncp-update-tmp
- git clone --depth 20 -q -b devel https://github.com/nextcloud/nextcloudpi.git /tmp/ncp-update-tmp
- cd /tmp/ncp-update-tmp || return 1
-
- echo -e "Performing updates"
- ./update.sh && {
- VER=$( git describe --always --tags | grep -oP "v\d+\.\d+\.\d+" )
- grep -qP "v\d+\.\d+\.\d+" <<< $VER && { # check format
- echo "$VER" > /usr/local/etc/ncp-version
- echo "$VER" > /var/run/.ncp-latest-version
- }
- echo -e "NextCloudPi updated to version $VER"
- }
-
- cd / || return 1
- rm -rf /tmp/ncp-update-tmp
+ # disable unattended upgrades
+ rm -f /etc/apt/apt.conf.d/20nextcloudpi-upgrades
+ ncp-update devel
}
configure() { :; }