From ca0f19cc930ec0fa800b9536c797e959a8a4b09f Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 19 Aug 2017 18:36:12 +0200 Subject: [PATCH] Update worker.sh --- code/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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