Expert mode required to set user:group ID.

This commit is contained in:
Llewellyn van der Merwe 2022-01-27 16:45:36 +02:00
parent fedcfc7c4f
commit 5255b7bb25
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
1 changed files with 2 additions and 2 deletions

View File

@ -367,8 +367,8 @@ function joomla__TRuST__setup() {
$reset_volume && VDM_VOLUMES=''
# add the projects path
setContainerEnvVariable "VDM_PROJECT_PATH=\"${VDM_PROJECT_PATH}\""
# set the container user detail id needed
if [ "${VDM_J_REPO}" = 'llewellyn/joomla' ]; then
# only if in expert mode set the container user detail id needed
if isExpert; then
# if this is our octoleo images we can also set the user ID and user-group ID
setContainerUser "$(id -u)"
# check that we got the details