Fix licenses

This commit is contained in:
probonopd authored and GitHub committed 2017-08-22 19:59:43 +02:00
1 parent 98bc134a81
commit a50e63eefc
1 file changed
+2
+2
View File
@@ -295,6 +295,8 @@ for INPUTBASENAME in database/*; do
echo "description: $DESKTOP_COMMENT" >> apps/$INPUTBASENAME.md
fi
# License
AS_LICENSE=""
DT_LICENSE=""
if [ -f database/$INPUTBASENAME/*appdata.xml ] ; then
AS_LICENSE=$(cat database/$INPUTBASENAME/*appdata.xml | xmlstarlet sel -t -m "/component/project_license" -v .)
fi