Merge pull request #19 from buehner/adjust-logs
Add logs for extension and font installationpull/20/head
commit
5c24bec0a6
|
|
@ -36,6 +36,7 @@ fi
|
||||||
count=`ls -1 $ADDITIONAL_LIBS_DIR/*.jar 2>/dev/null | wc -l`
|
count=`ls -1 $ADDITIONAL_LIBS_DIR/*.jar 2>/dev/null | wc -l`
|
||||||
if [ -d "$ADDITIONAL_LIBS_DIR" ] && [ $count != 0 ]; then
|
if [ -d "$ADDITIONAL_LIBS_DIR" ] && [ $count != 0 ]; then
|
||||||
cp $ADDITIONAL_LIBS_DIR/*.jar $CATALINA_HOME/webapps/geoserver/WEB-INF/lib/
|
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
|
fi
|
||||||
|
|
||||||
# copy additional fonts before starting the tomcat
|
# copy additional fonts before starting the tomcat
|
||||||
|
|
@ -43,6 +44,7 @@ fi
|
||||||
count=`ls -1 *.ttf 2>/dev/null | wc -l`
|
count=`ls -1 *.ttf 2>/dev/null | wc -l`
|
||||||
if [ -d "$ADDITIONAL_FONTS_DIR" ] && [ $count != 0 ]; then
|
if [ -d "$ADDITIONAL_FONTS_DIR" ] && [ $count != 0 ]; then
|
||||||
cp $ADDITIONAL_FONTS_DIR/*.ttf /usr/share/fonts/truetype/
|
cp $ADDITIONAL_FONTS_DIR/*.ttf /usr/share/fonts/truetype/
|
||||||
|
echo "Installed $count TTF font file(s) from the additional fonts folder"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# configure CORS (inspired by https://github.com/oscarfonts/docker-geoserver)
|
# configure CORS (inspired by https://github.com/oscarfonts/docker-geoserver)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue