added install.sh and changed default css

This commit is contained in:
Honney
2026-07-02 16:36:28 +02:00
parent 40c7ff158c
commit 4d03f024ed
2 changed files with 26 additions and 8 deletions
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
if ! test -f style.css; then
echo "style.css does not exist."
echo "Copying from example..."
cp style.css.example style.css
else
echo "style.css already exists."
read -p "Should it be replaced? [y/N]: " answer
# Using modern [[ ]] for string comparison is safer in Bash
if [[ "$answer" == "y" || "$answer" == "Y" ]]; then
cp style.css.example style.css
echo "File replaced."
else
echo "Skipped."
fi
fi