Starting migration from gogs to gitea

Gitea is a more trustable project.
This commit is contained in:
2018-10-30 14:50:33 +01:00
parent 40547fc477
commit 7ef72a70df
14 changed files with 303 additions and 167 deletions

11
posttemplate/01-gitea-nginx Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
ENABLE=`CreoleGet activer_gogs 'non'`
if [ -L /etc/nginx/sites-enabled/gogs ];then
rm -f /etc/nginx/sites-enabled/gogs
fi
if [ "${ENABLE}" = 'oui' ];then
ln -s /etc/nginx/sites-available/gogs /etc/nginx/sites-enabled/gogs
fi