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 'updates/1.15.0.sh')
-rw-r--r--updates/1.15.0.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/updates/1.15.0.sh b/updates/1.15.0.sh
new file mode 100644
index 00000000..8d79e30d
--- /dev/null
+++ b/updates/1.15.0.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+set -e
+
+## BACKWARD FIXES ( for older images )
+
+source /usr/local/etc/library.sh
+
+# not for image builds, only live updates
+[[ ! -f /.ncp-image ]] && {
+
+ # docker images only
+ [[ -f /.docker-image ]] && {
+ :
+ }
+
+ # for non docker images
+ [[ ! -f /.docker-image ]] && {
+ # Update btrfs-sync
+ wget -q https://raw.githubusercontent.com/nachoparker/btrfs-sync/master/btrfs-sync -O /usr/local/bin/btrfs-sync
+ }
+
+} # end - only live updates
+
+exit 0