diff options
author | marcelhas <marcel.hasieber@gmail.com> | 2021-10-01 10:33:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 10:33:35 +0200 |
commit | 70018651860cbd0dc3bb26fb6ba1e35867dda80f (patch) | |
tree | 6aeb76d64595047677e9d1904a4d14eea5cb7636 /apps/installer/includes/functions.sh | |
parent | 23edbfe21dcde3f4d1d4a29e360e2f641ea626e3 (diff) |
Fix start scripts (#8005)
* fix(Bash): Handle missing env variable
Bash installation failed when no explicit `zipPath` was set.
As it defaulted to `/`, which led to permission errors.
* fix(Docker): Fix docker volume error
Docker installation failed, because target directories of volumes should
not end with a `/`.
https://stackoverflow.com/questions/68273745/how-to-make-a-mount-shared-in-docker/68455665#68455665
Diffstat (limited to 'apps/installer/includes/functions.sh')
-rw-r--r-- | apps/installer/includes/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/installer/includes/functions.sh b/apps/installer/includes/functions.sh index 186d2e7477..cd4d746e51 100644 --- a/apps/installer/includes/functions.sh +++ b/apps/installer/includes/functions.sh @@ -227,7 +227,7 @@ function inst_download_client_data { # first check if it's defined in env, otherwise use the default local path="${DATAPATH:-$AC_BINPATH_FULL}" - local zipPath="${DATAPATH_ZIP:-"$DATAPATH/data.zip"}" + local zipPath="${DATAPATH_ZIP:-"$path/data.zip"}" dataVersionFile="$path/data-version" |