summaryrefslogtreecommitdiff
path: root/docs.org
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-10-26 17:06:35 -0300
committerRoger Gonzalez <roger@rogs.me>2023-10-26 17:06:35 -0300
commit6d01b1f141e2d4825c70e4d2ed1fb6644b6af9a9 (patch)
treedfc1ce3caf9b1f9e62bc7895dcc51667b4158c31 /docs.org
parente4f20e9ebe0314b8cb54bc18cd4fc57e3e992132 (diff)
parent63bff4b94b086d77e26ebfb97e2a74085e593b14 (diff)
Merge branch 'master' of gitlab.com:rogs/yamsHEADmaster
Diffstat (limited to 'docs.org')
-rw-r--r--docs.org4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs.org b/docs.org
index 0109f71..406c739 100644
--- a/docs.org
+++ b/docs.org
@@ -201,6 +201,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"