Compare commits

...

2 Commits

Author SHA1 Message Date
ecef3c0c26
Added readme 2023-10-29 13:55:17 +01:00
c87904b996
Added restart 2023-10-29 13:50:37 +01:00
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
# gitea-customizations
# Gitea Customizations
Customizations de git.labolyon.fr
Ensemble de customizations pour le gitea du LOL
## Installation
Pour installer les customizations, lancez simplement le script `./install.sh`.
Il s'occupera de copier les fichiers dans `GITEA_CUSTOM`.

View File

@ -1,4 +1,7 @@
#!/bin/bash
set -e
if [ "$GITEA_CUSTOM" == "" ]; then
GITEA_CUSTOM="/var/lib/gitea/custom"
fi
@ -14,4 +17,6 @@ case "$confirm" in
esac
mkdir -p "$GITEA_CUSTOM"
cp -r -v -f ./custom/* "$GITEA_CUSTOM/"
cp -r -v -f ./custom/* "$GITEA_CUSTOM/"
systemctl restart gitea