Update worker.sh
This commit is contained in:
1 parent
3b71a14697
commit
ca0f19cc93
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user