From 2687fdba969393f746d53941c387cd0b15e806d1 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Mon, 1 Jan 2018 19:51:29 +0100 Subject: [PATCH] nc-snapshot: update btrfs-snp --- update.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 0c77f97c7..9fda2a53a 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