This commit is contained in:
Marcus 2023-05-01 09:42:16 +02:00
parent 18eabe619e
commit 586dc646e8

View file

@ -160,6 +160,12 @@ $CHROOTCMD /bin/bash /tmp/install_base.sh || error
message "clear /tmp" message "clear /tmp"
$CHROOTCMD /usr/bin/rm -Rf /tmp/* || error $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 ### copy nanodesk configs to chroot
message "copy nanodesk config files into chroot" message "copy nanodesk config files into chroot"
sudo cp -r src/* build/chroot/ sudo cp -r src/* build/chroot/