diff options
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 #################### |