From bafc97d25f21d429136226dca2f80eb0352c749b Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 14 Aug 2025 09:34:05 -0700 Subject: [PATCH] Only copy the CSS if it does not exist. --- run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 683ba73..ec10b75 100755 --- a/run.sh +++ b/run.sh @@ -6,6 +6,8 @@ cd $DIR rm -rfv public mkdir -pv public -cp -rv themes/lugo/static/style.css static/ +if [[ ! -f static/style.css ]]; then + cp -rv themes/lugo/static/style.css static/ +fi hugo server -D --noBuildLock