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 'update.sh')
-rwxr-xr-xupdate.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 073e5400..5fce2b89 100755
--- a/update.sh
+++ b/update.sh
@@ -270,6 +270,12 @@ EOF
udevadm control --reload-rules && udevadm trigger
pgrep -c udiskie &>/dev/null && systemctl restart nc-automount
}
+
+ # btrfs tools
+ type btrfs &>/dev/null || {
+ apt-get update
+ apt-get install -y --no-install-recommends btrfs-tools
+ }
}
exit 0