diff --git a/code/worker.sh b/code/worker.sh index fff7ad71..9b56dc3b 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -302,7 +302,7 @@ for INPUTBASENAME in database/*; do fi # Screenshot if [ -f database/$INPUTBASENAME/*appdata.xml ] ; then - SCREENSHOT=$(cat database/$INPUTBASENAME/*appdata.xml | xmlstarlet sel -t -m "/component/screenshots/screenshot[1]" -v .) + SCREENSHOT=$(cat database/$INPUTBASENAME/*appdata.xml | xmlstarlet sel -t -m "/component/screenshots/screenshot[1]/image" -v .) if [ "$SCREENSHOT" != "" ] ; then echo "screenshots:" >> apps/$INPUTBASENAME.md echo "- $SCREENSHOT" >> apps/$INPUTBASENAME.md