Update worker.sh

This commit is contained in:
probonopd authored and GitHub committed 2017-08-19 18:36:12 +02:00
1 parent 3b71a14697
commit ca0f19cc93
1 file changed
+1 -1
+1 -1
View File
@@ -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