From a0c4fd8fec6658f4e7140dee1f445c4b445ba2ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna=20Christina=20Na=C3=9F?= Date: Fri, 5 Apr 2024 12:20:38 +0200 Subject: [PATCH] {DATE_UPDATED} statt 1900-01-01 --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 14f7160..288ecd6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,12 +28,12 @@ PLUGIN_YML=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*/PLUGIN\.yml$' | sed '1q;d sed -i -e "s/{VERSION}/${PLUGIN_VERSION}/g" ${PLUGIN_MODULE} sed -i -e "s/{MINIMUM_VERSION}/${MINIMUM_VERSION}/g" ${PLUGIN_MODULE} -sed -i -e "s/1900-01-01/${TODAY_ISO}/g" $PLUGIN_MODULE +sed -i -e "s/{DATE_UPDATED}/${TODAY_ISO}/g" $PLUGIN_MODULE if [ -f "$PLUGIN_YML" ]; then sed -i -e "s/{VERSION}/${PLUGIN_VERSION}/g" ${PLUGIN_YML} sed -i -e "s/{MINIMUM_VERSION}/${MINIMUM_VERSION}/g" ${PLUGIN_YML} - sed -i -e "s/1900-01-01/${TODAY_ISO}/g" $PLUGIN_YML + sed -i -e "s/{DATE_UPDATED}/${TODAY_ISO}/g" $PLUGIN_YML cat $PLUGIN_YML fi