summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2024-11-12 11:50:49 +0000
committerbreadcat2024-11-12 11:50:49 +0000
commit4356af447a11c537b9ba6ffff9668b98c18dee47 (patch)
tree5d96b541d27ef670f2d380777f9513276dbab508
parent4991b82d230be8466aaa5c03e076b9b729335855 (diff)
downloaddockerfiles-master.tar.gz
dockerfiles-master.tar.bz2
dockerfiles-master.zip
Add extra line break to music databaseHEADorigin/masterorigin/HEADmaster
Otherwise doesn't render table correctly
-rw-r--r--server.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.sh b/server.sh
index e72800f..995fa82 100644
--- a/server.sh
+++ b/server.sh
@@ -522,7 +522,7 @@ function process_music {
# write page
echo -n "Writing page... "
{
- printf "%s\n" "$header"
+ printf "%s\n\n" "$header"
printf "%s" "$(paste temp.artists.log temp.tracks.log temp.links.log | sed 's/\t/ \| /g' | sed 's/^/\| /g' | sed 's/$/ \|/g' | sed 's/\] | (/\](/g')" | sort | uniq -i | sed -e '1i\| ------ \| ----- \|' | sed -e '1i\| Artist \| Title \|'
} >"$post"
echo -e "\e[32mdone\e[39m"