commit bb0d45e1745ff977e87e5c483dbfffab3ca7ecc1
parent a20d2ad129ee9b3e94e91ed278376bf0b735e4b7
Author: andersuno <anders@desk.andersuno.nu>
Date: Thu, 4 Aug 2022 23:35:25 +0200
At startup, copy all resources to public-html
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/start.sh b/start.sh
@@ -20,6 +20,7 @@ if [ -d /git-server/repos/ ]; then
fi
if [ -d /git-server/public-html/ ]; then
cd /git-server/public-html || return
+ cp ../resources/* . || return
chown -R git:git .
chmod -R ug+rwX .
chmod -R o+r .