Skip to content

Commit ea1e00c

Browse files
committed
nc-update-nc: BTRFS support
Signed-off-by: nachoparker <nacho@ownyourbits.com>
1 parent 7c361c5 commit ea1e00c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

bin/ncp-update-nc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ ncc status &>/dev/null || { echo "Nextcloud is currently down"; exit 1;
3434
[[ -d /var/www/nextcloud-old ]] && { echo "Nextcloud backup directory found. Interrupted or already running installation?"; exit 1; }
3535
[[ -d /var/www/nextcloud ]] || { echo "Nextcloud directory not found" ; exit 1; }
3636
[[ -d "$DATADIR" ]] || { echo "Nextcloud data directory not found" ; exit 1; }
37-
grep -q "btrfs" <(stat -fc%T "$BASEDIR") && { echo "BTRFS not supported" ; exit 1; }
3837

3938
# check version
4039
####################

bin/ncp/CONFIG/nc-datadir.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ is_active()
1717

1818
install()
1919
{
20-
apt-get update
21-
apt-get install -y --no-install-recommends btrfs-tools
20+
apt_install btrfs-tools
2221
}
2322

2423
configure()

changelog.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11

2-
[v1.40.0](https://github.com/nextcloud/nextcloudpi/commit/fbc4ab8) (2021-10-04) nc-notify-updates: notify of new supported NC versions
2+
[v1.40.2](https://github.com/nextcloud/nextcloudpi/commit/fc3f978) (2021-10-05) nc-update-nc: BTRFS support
3+
4+
[v1.40.1](https://github.com/nextcloud/nextcloudpi/commit/7c361c5) (2021-10-05) update: improve check for apt (#1356)
5+
6+
[v1.40.0 ](https://github.com/nextcloud/nextcloudpi/commit/a0728d7) (2021-10-04) nc-notify-updates: notify of new supported NC versions
37

48
[v1.39.21](https://github.com/nextcloud/nextcloudpi/commit/2037064) (2021-10-04) ncp-web: disable activation page once activated
59

0 commit comments

Comments
 (0)