From 35102e21e48838e1e6fdd1bef7b474ccc344a7e6 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 27 Aug 2017 11:24:48 +0200 Subject: [PATCH] Add desktop file in its own namespace, do not store interim yaml --- code/worker.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/worker.sh b/code/worker.sh index 8e628a18..6c91fc8e 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -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