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>2018-01-01 21:51:29 +0300
committernachoparker <nacho@ownyourbits.com>2018-01-01 21:51:29 +0300
commit2687fdba969393f746d53941c387cd0b15e806d1 (patch)
tree94ca135a8b2919c16df3d4133ee2109d00fb055c
parent6fb4fef1514730cd87cceef8b85f8507388f5001 (diff)
nc-snapshot: update btrfs-snpv0.44.2
-rwxr-xr-xupdate.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 0c77f97c..9fda2a53 100755
--- a/update.sh
+++ b/update.sh
@@ -112,7 +112,7 @@ done
## BACKWARD FIXES ( for older images )
-# only for image builds
+# not for image builds, only live updates
[[ ! -f /.ncp-image ]] && {
# fix automount in latest images
@@ -194,7 +194,13 @@ y
y
y
EOF
-}
+
+ # update btrfs-snp
+ grep -q "btrfs subvolume list" /usr/local/bin/btrfs-snp && {
+ wget https://raw.githubusercontent.com/nachoparker/btrfs-snp/master/btrfs-snp -O /usr/local/bin/btrfs-snp
+ chmod +x /usr/local/bin/btrfs-snp
+ }
+} # end - only live updates
exit 0