Add desktop file in its own namespace, do not store interim yaml

This commit is contained in:
probonopd authored and GitHub committed 2017-08-27 11:24:48 +02:00
1 parent 37584315be
commit 35102e21e4
1 file changed
+3 -1
+3 -1
View File
@@ -348,8 +348,10 @@ for INPUTBASENAME in database/*; do
# Add content of desktop file
dv database/$INPUTBASENAME/*.desktop --yaml -o database/$INPUTBASENAME/desktop.yaml
echo ""
cat database/$INPUTBASENAME/desktop.yaml | tail -n +2 >> apps/$INPUTBASENAME.md # tail -n +2 = skip first like ("---")
echo "desktop:"
cat database/$INPUTBASENAME/desktop.yaml | sed -i -e 's|\n|\n |g' | tail -n +2 >> apps/$INPUTBASENAME.md # tail -n +2 = skip first like ("---")
echo "---" >> apps/$INPUTBASENAME.md
rm database/$INPUTBASENAME/desktop.yaml
done
# TODO: Convert the "database files" into whatever output formats we need to support