diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-02-14 03:32:01 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-02-14 03:32:09 +0300 |
commit | af5e35d00cfd3b43a6a6ed70bbe19f4e3417b6c6 (patch) | |
tree | 481c08e5723866680b4bd4a619739a65a919bf96 /bin/ncp-update-nc | |
parent | b0703877e6a7462c57ef69a43fc8c5660903fa40 (diff) |
ncp-update-nc: BTRFS basedir not supportedv1.6.3
Diffstat (limited to 'bin/ncp-update-nc')
-rwxr-xr-x | bin/ncp-update-nc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc index 944b80dc..7c44e6b4 100755 --- a/bin/ncp-update-nc +++ b/bin/ncp-update-nc @@ -29,6 +29,7 @@ DATADIR="$( grep datadirectory nextcloud/config/config.php | awk '{ print $3 }' [[ -d /var/www/nextcloud-old ]] && { echo "Nextcloud backup directory found. Interrupted installation?"; exit 1; } [[ -d /var/www/nextcloud ]] || { echo "Nextcloud directory not found" ; exit 1; } [[ -d "$DATADIR" ]] || { echo "Nextcloud data directory not found" ; exit 1; } +[[ "$(stat -fc%T "$BASEDIR")" == "btrfs" ]] && { echo "BTRFS not supported" ; exit 1; } # check version #################### |