summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 802a395..8bf6514 100644
--- a/install.sh
+++ b/install.sh
@@ -95,6 +95,10 @@ if [ ! -d "$install_directory" ]; then
fi
fi
+if [ ! -w "$install_directory" ] || [ ! -r "$install_directory" ]; then
+ send_error_message "The directory \"$install_directory\" is not writable or readable by the current user. Set the correct permissions or try a different directory" ❌
+fi
+
filename="$install_directory/docker-compose.yaml"
custom_file_filename="$install_directory/docker-compose.custom.yaml"
env_file="$install_directory/.env"