Fix file appending

This commit is contained in:
JeremyStar™ 2024-12-04 18:38:10 +01:00
parent fd181f8486
commit 31cb7aec39
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -33,7 +33,7 @@ if [ -z "${LINKGEN_NO_DEFAULT}" ]; then
# LINKGEN_NO_DEFAULT is undefined, generate default links
echo ":: Generating StarOpenSource's default links"
# Index
cat << EOF >> index.html
cat << EOF > index.html
<!DOCTYPE html>
<html>
<head>
@ -52,7 +52,7 @@ if [ -z "${LINKGEN_NO_DEFAULT}" ]; then
</html>
EOF
# Robots
cat << EOF >> robots.txt
cat << EOF > robots.txt
User-Agent: *
Disallow: /
EOF