From a84878abfc91302d81527653f029280d554be32b Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 17 Feb 2024 03:55:30 +0100 Subject: [PATCH] fix: Detect Mac Journal filesystem (#634) --- src/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index 603c4010..36a711dd 100644 --- a/src/install.sh +++ b/src/install.sh @@ -65,7 +65,11 @@ if [[ "${FS,,}" == "fuse"* ]]; then info "Warning: the filesystem of $STORAGE is FUSE, this extra layer will negatively affect performance!" fi -if [[ "${FS,,}" != "fat"* && "${FS,,}" != "vfat"* && "${FS,,}" != "exfat"* && "${FS,,}" != "ntfs"* && "${FS,,}" != "msdos"* ]]; then +if [[ "${FS,,}" == "fat"* || "${FS,,}" == "vfat"* || "${FS,,}" == "msdos"* ]]; then + error "Unable to install on $FS filesystems, please use a different filesystem for /storage." && exit 61 +fi + +if [[ "${FS,,}" != "exfat"* && "${FS,,}" != "ntfs"* && "${FS,,}" != "unknown"* ]]; then TMP="$STORAGE/tmp" else TMP="/tmp/dsm"