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:
authornachoparker <nacho@ownyourbits.com>2019-07-07 00:34:52 +0300
committernachoparker <nacho@ownyourbits.com>2019-07-07 00:42:33 +0300
commit85ebb39c2694ae7d076d8cb9a070c4b42c62480a (patch)
treee457a67d7cbb268a707f63d8ba56049cab0ee62a
parent53d02fe96ddd03cbe76820cee073179e501918dc (diff)
nc-snapshot-sync: update btrfs-syncv1.14.3
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r--changelog.md4
-rwxr-xr-xrun_update_history.sh3
-rw-r--r--updates/1.15.0.sh25
3 files changed, 29 insertions, 3 deletions
diff --git a/changelog.md b/changelog.md
index 9f3d05bd..f42af447 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,7 @@
-[v1.14.2](https://github.com/nextcloud/nextcloudpi/commit/60898da) (2019-07-06) nc-hdd-monitor: fix detection
+[v1.14.3](https://github.com/nextcloud/nextcloudpi/commit/6a78953) (2019-07-06) nc-snapshot-sync: update btrfs-sync
+
+[v1.14.2](https://github.com/nextcloud/nextcloudpi/commit/53d02fe) (2019-07-06) nc-hdd-monitor: fix detection
[v1.14.0 ](https://github.com/nextcloud/nextcloudpi/commit/fa9ddca) (2019-07-05) upgrade to NC16.0.2
diff --git a/run_update_history.sh b/run_update_history.sh
index 1b5558b0..d899950b 100755
--- a/run_update_history.sh
+++ b/run_update_history.sh
@@ -99,10 +99,9 @@ if is_more_recent_than "$latest_checkpoint_version" "$current_version" ; then
for(( i="$starting_checkpoint"; i<="$end_of_list"; i++)); do
update_file=${updates_list[$i]}
tag_update=$( basename "$update_file" .sh )
- echo -e "Updating system to version $tag_update . . ."
bash "$updates_dir/$update_file" || exit 1
echo "v$tag_update" > /usr/local/etc/ncp-version
- echo -e "System updated successfully to version v$tag_update"
+ [[ $i != $end_of_list ]] && echo -e "NextCloudPi updated to version v$tag_update" || true
done
fi
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