From 586dc646e8d032af8fae41b6f412c51349db958e Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 1 May 2023 09:42:16 +0200 Subject: [PATCH] progress --- makeanything.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makeanything.sh b/makeanything.sh index 621a65a..8c7ccbb 100755 --- a/makeanything.sh +++ b/makeanything.sh @@ -160,6 +160,12 @@ $CHROOTCMD /bin/bash /tmp/install_base.sh || error message "clear /tmp" $CHROOTCMD /usr/bin/rm -Rf /tmp/* || error +### process markdown files in src/ to html +message "convert .md from src to .html in build/chroot" +for md in $(find src/ -name "*.md") + do markdown $md > $(echo $md|sed 's/\.md/\.html/') +done + ### copy nanodesk configs to chroot message "copy nanodesk config files into chroot" sudo cp -r src/* build/chroot/