Compare commits

..

No commits in common. "ecef3c0c268bdd1073b2f8c54543336be93a1ab1" and "a1499ce26d5862635135918339a88b921131de19" have entirely different histories.

2 changed files with 3 additions and 13 deletions

View File

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

View File

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