[ACS-6924] Rename tags and categories plugins to mitigate naming conflicts (#3687)

* [ACS-6924] Rename tags and categories plugins to mitigate conflicts

* [ACS-6924] Add missing logic for tags and categories plugins
This commit is contained in:
MichalKinas
2024-03-04 19:52:17 +01:00
committed by GitHub
parent c883e16d2b
commit 33264f0731
4 changed files with 16 additions and 6 deletions

View File

@@ -117,3 +117,13 @@ if [ -n "${APP_BASE_SHARE_URL}" ]; then
sed -e "s/\"baseShareUrl\": \".*\"/\"baseShareUrl\": \"${encoded}\"/g" \
-i "$APP_CONFIG_FILE"
fi
if [ -n "${APP_CONFIG_PLUGIN_TAGS}" ]; then
echo "SET APP_CONFIG_PLUGIN_TAGS"
sed -e "s/\"tagsEnabled\": [^,]*/\"tagsEnabled\": ${APP_CONFIG_PLUGIN_TAGS}/g" -i "$APP_CONFIG_FILE"
fi
if [ -n "${APP_CONFIG_PLUGIN_CATEGORIES}" ]; then
echo "SET APP_CONFIG_PLUGIN_CATEGORIES"
sed -e "s/\"categoriesEnabled\": [^,]*/\"categoriesEnabled\": ${APP_CONFIG_PLUGIN_CATEGORIES}/g" -i "$APP_CONFIG_FILE"
fi