From 9bc0033d89e1d7228ddbe2e57f63afae109d848f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna=20Christina=20Na=C3=9F?= Date: Tue, 5 Mar 2024 17:17:56 +0100 Subject: [PATCH] entrypoint.sh aktualisiert --- entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 038884f..14f7160 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,6 @@ PLUGIN_NAME=$2 MINIMUM_VERSION=$3 PLUGIN_MODULE=$4 -echo "Neu ------" echo "PLUGIN VERSION: $PLUGIN_VERSION" echo "PLUGIN NAME: $PLUGIN_NAME" echo "MINIMUM VERSION: $MINIMUM_VERSION" @@ -41,6 +40,10 @@ fi PLUGIN_DIR=${PLUGIN_MODULE::-3} echo "PLUGIN DIR: $PLUGIN_DIR" +if [ ! -d $PLUGIN_DIR ]; then + mkdir -v $PLUGIN_DIR +fi + if [ -f "../CHANGELOG.md" ]; then echo "CHANGELOG.md found, copying to plugin directory" cp ../CHANGELOG.md "$PLUGIN_DIR/CHANGELOG.md"