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>2021-10-05 22:50:32 +0300
committernachoparker <nacho@ownyourbits.com>2021-10-05 22:50:37 +0300
commitea1e00c25128b86fa7316f9922307870b61f5493 (patch)
treed4d0a1bf8ff28e1de68f7d582c7f5e2ac2e7d0fe
parent7c361c5cb482cd9152ee613dad343ba6de3f182a (diff)
nc-update-nc: BTRFS supportv1.40.2
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rwxr-xr-xbin/ncp-update-nc1
-rw-r--r--bin/ncp/CONFIG/nc-datadir.sh3
-rw-r--r--changelog.md6
3 files changed, 6 insertions, 4 deletions
diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc
index 9908edc7..530fcc88 100755
--- a/bin/ncp-update-nc
+++ b/bin/ncp-update-nc
@@ -34,7 +34,6 @@ ncc status &>/dev/null || { echo "Nextcloud is currently down"; exit 1;
[[ -d /var/www/nextcloud-old ]] && { echo "Nextcloud backup directory found. Interrupted or already running installation?"; exit 1; }
[[ -d /var/www/nextcloud ]] || { echo "Nextcloud directory not found" ; exit 1; }
[[ -d "$DATADIR" ]] || { echo "Nextcloud data directory not found" ; exit 1; }
-grep -q "btrfs" <(stat -fc%T "$BASEDIR") && { echo "BTRFS not supported" ; exit 1; }
# check version
####################
diff --git a/bin/ncp/CONFIG/nc-datadir.sh b/bin/ncp/CONFIG/nc-datadir.sh
index a9be2df9..f44fa8d7 100644
--- a/bin/ncp/CONFIG/nc-datadir.sh
+++ b/bin/ncp/CONFIG/nc-datadir.sh
@@ -17,8 +17,7 @@ is_active()
install()
{
- apt-get update
- apt-get install -y --no-install-recommends btrfs-tools
+ apt_install btrfs-tools
}
configure()
diff --git a/changelog.md b/changelog.md
index 017ec95c..8a8b8836 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,9 @@
-[v1.40.0](https://github.com/nextcloud/nextcloudpi/commit/fbc4ab8) (2021-10-04) nc-notify-updates: notify of new supported NC versions
+[v1.40.2](https://github.com/nextcloud/nextcloudpi/commit/fc3f978) (2021-10-05) nc-update-nc: BTRFS support
+
+[v1.40.1](https://github.com/nextcloud/nextcloudpi/commit/7c361c5) (2021-10-05) update: improve check for apt (#1356)
+
+[v1.40.0 ](https://github.com/nextcloud/nextcloudpi/commit/a0728d7) (2021-10-04) nc-notify-updates: notify of new supported NC versions
[v1.39.21](https://github.com/nextcloud/nextcloudpi/commit/2037064) (2021-10-04) ncp-web: disable activation page once activated