diff --git a/code/worker.sh b/code/worker.sh index 4addc34d..811b91f5 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -266,7 +266,7 @@ for INPUTBASENAME in database/*; do echo "permalink: /$INPUTBASENAME/" >> apps/$INPUTBASENAME.md DESKTOP_COMMENT=$(grep "^Comment=.*" database/$INPUTBASENAME/*.desktop | cut -d '=' -f 2- ) if [ -f database/$INPUTBASENAME/*appdata.xml ] ; then - SUMMARY=$(cat $APPDIR/usr/share/metainfo/*.appdata.xml | xml sel -t -m "/component/summary" -v .) + SUMMARY=$(cat $APPDIR/usr/share/metainfo/*.appdata.xml | xmlstarlet sel -t -m "/component/summary" -v .) if [ "$SUMMARY" != "" ] ; then echo "description: $SUMMARY" >> apps/$INPUTBASENAME.md fi