Update orchestration_package.sh

This commit is contained in:
WrightNed 2024-03-12 13:01:44 +02:00 committed by GitHub
parent 0e47ed8595
commit 9f86c4607e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -719,7 +719,9 @@ copy_orchestration_executable()
if [ -f /ext/appsec/local_policy.yaml ]; then
cp_exec "ln -s /ext/appsec/local_policy.yaml ${FILESYSTEM_PATH}/${CONF_PATH}/local_policy.yaml"
else
cp_copy local-default-policy.yaml ${FILESYSTEM_PATH}/${CONF_PATH}/local_policy.yaml
if [ ! -f ${FILESYSTEM_PATH}/${CONF_PATH}/local_policy.yaml ]; then
cp_copy local-default-policy.yaml ${FILESYSTEM_PATH}/${CONF_PATH}/local_policy.yaml
fi
fi
}