🗃️ Update codebase 🗃️

rootfs/root/docker/setup/06-post.sh
This commit is contained in:
casjay
2025-10-22 15:43:24 -04:00
parent 1eb0ca8b36
commit e390e42502

View File

@@ -159,6 +159,7 @@ END{
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Main script # Main script
echo "Creating the onion web sites list"
cat >"$LIST_INDEX_FILE" <<'HTML' cat >"$LIST_INDEX_FILE" <<'HTML'
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
@@ -172,6 +173,7 @@ cat >"$LIST_INDEX_FILE" <<'HTML'
<body> <body>
HTML HTML
md2html >>"$LIST_INDEX_FILE" md2html >>"$LIST_INDEX_FILE"
printf '<div><center>%s</center></div>\n' "Last uopdated on $(date +'%A, %B %d, %Y at %H:%M %Z')" >>"$LIST_INDEX_FILE"
printf '\n</body>\n</html>\n' >>"$LIST_INDEX_FILE" printf '\n</body>\n</html>\n' >>"$LIST_INDEX_FILE"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set the exit code # Set the exit code