Merge pull request #19 from buehner/adjust-logs

Add logs for extension and font installation
pull/20/head
Nils Bühner 2023-03-01 15:06:15 +01:00 committed by GitHub
commit 5c24bec0a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ fi
count=`ls -1 $ADDITIONAL_LIBS_DIR/*.jar 2>/dev/null | wc -l`
if [ -d "$ADDITIONAL_LIBS_DIR" ] && [ $count != 0 ]; then
cp $ADDITIONAL_LIBS_DIR/*.jar $CATALINA_HOME/webapps/geoserver/WEB-INF/lib/
echo "Installed $count JAR extension file(s) from the additional libs folder"
fi
# copy additional fonts before starting the tomcat
@ -43,6 +44,7 @@ fi
count=`ls -1 *.ttf 2>/dev/null | wc -l`
if [ -d "$ADDITIONAL_FONTS_DIR" ] && [ $count != 0 ]; then
cp $ADDITIONAL_FONTS_DIR/*.ttf /usr/share/fonts/truetype/
echo "Installed $count TTF font file(s) from the additional fonts folder"
fi
# configure CORS (inspired by https://github.com/oscarfonts/docker-geoserver)