diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2019-09-04 07:42:22 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2019-09-04 07:42:22 -0500 |
commit | 7394337bf875e7dd7caae65533b7c32196f1542c (patch) | |
tree | fb4ecfe40664dd04ed1cca2d89903c9d8b02c187 /controlloop/packages/docker-controlloop/src/main | |
parent | 3c9d3dbbe614e4eecd7c2031a0185671cbf8a1bf (diff) |
correction when overriding with external truststore
Issue-ID: POLICY-1371
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ief22f9d99acbd9c3d7335e59045d45c64296f783
Diffstat (limited to 'controlloop/packages/docker-controlloop/src/main')
-rw-r--r-- | controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh b/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh index 684c201ea..8e968be50 100644 --- a/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh +++ b/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh @@ -85,12 +85,12 @@ function security { if [[ -f "${POLICY_INSTALL_INIT}"/policy-keystore ]]; then if ! cmp -s "${POLICY_INSTALL_INIT}"/policy-keystore "${POLICY_HOME}"/etc/ssl/policy-keystore; then - echo "overriding policy-keystore"policy-keystore + echo "overriding policy-keystore" cp -f "${POLICY_INSTALL_INIT}"/policy-keystore "${POLICY_HOME}"/etc/ssl fi fi - if [[ -f ${POLICY_INSTALL_INIT}/policy-keystore ]]; then + if [[ -f ${POLICY_INSTALL_INIT}/policy-truststore ]]; then if ! cmp -s "${POLICY_INSTALL_INIT}"/policy-truststore "${POLICY_HOME}"/etc/ssl/policy-truststore; then echo "overriding policy-truststore" cp -f "${POLICY_INSTALL_INIT}"/policy-truststore "${POLICY_HOME}"/etc/ssl |