fuzzyworld

fuzzyworld-tools / commit

Update install.sh to deploy shared CSS files

ea128c14062dd1035e77adbbbdbbc68409b6ff07 · Pavel Safronov · 2026-10-27 21:17:06 -0700 · parents eeffb1459353

Update install.sh to deploy shared CSS files

- Copy _shared.css and _icons.css to both code.fuzzyworld.net and apps.fuzzyworld.net
- Copy main.css and shared files to fuzzyworld.net

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
 server/install.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/server/install.sh b/server/install.sh
index 57fb2e2..0c6d739 100755
--- a/server/install.sh
+++ b/server/install.sh
@@ -25,10 +25,14 @@ chmod +x ~/fw/tools/server/runner-api ~/fw/tools/server/mirror-only
 ln -sfn ~/fw/tools/server/fw ~/bin/fw
 site=~/code.fuzzyworld.net
 cp ~/fw/tools/server/site/htaccess "$site/.htaccess"
-cp ~/fw/tools/server/site/style.css ~/fw/tools/server/site/robots.txt "$site/"
+cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css ~/fw/tools/server/site/style.css ~/fw/tools/server/site/robots.txt "$site/"
 apps=~/apps.fuzzyworld.net
 cp ~/fw/tools/server/site-apps/htaccess "$apps/.htaccess"
-cp ~/fw/tools/server/site/style.css "$apps/"
+cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css ~/fw/tools/server/site/style.css "$apps/"
+# Main fuzzyworld.net site
+main_site=~/fuzzyworld.net
+cp ~/fw/tools/server/site/main.css "$main_site/"
+cp ~/fw/tools/server/site/_shared.css ~/fw/tools/server/site/_icons.css "$main_site/"
 ~/bin/fw install-hooks
 ~/bin/fw apps-index
 ~/bin/fw content