diff options
Diffstat (limited to 'packages/docker/src/main/docker/docker-install.sh')
-rw-r--r-- | packages/docker/src/main/docker/docker-install.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/packages/docker/src/main/docker/docker-install.sh b/packages/docker/src/main/docker/docker-install.sh index 5fb59c27..5ec25823 100644 --- a/packages/docker/src/main/docker/docker-install.sh +++ b/packages/docker/src/main/docker/docker-install.sh @@ -369,6 +369,8 @@ function install_base() { fi done + /bin/mkdir -p "${POLICY_HOME}/logs/" > /dev/null 2>&1 + if [[ ! ( -d "$POLICY_HOME" && -w "$POLICY_HOME" ) ]]; then echo "ERROR: Installation directory $POLICY_HOME does not exist or not writable" exit 1 @@ -386,11 +388,6 @@ function install_base() { exit 1 fi - if ! /bin/mkdir -p "${POLICY_HOME}/logs/" > /dev/null 2>&1; then - echo "error: aborting base installation: cannot create ${POLICY_HOME}/logs/" - exit 1 - fi - if [[ -n ${POLICY_LOGS} ]]; then if ! /bin/mkdir -p "${POLICY_LOGS}" > /dev/null 2>&1; then echo "error: aborting base installation: cannot create ${POLICY_LOGS}" @@ -885,12 +882,12 @@ function do_install() installArtifacts - if [[ -f apps-installer ]]; then + if [[ -f apps-controlloop-installer ]]; then # if exists, any customizations to the # base drools installation from the drools apps # is executed here - ./apps-installer + ./apps-controlloop-installer fi echo |