refer to gitea (not gitlab) directories (#77804)
gitea/gitea-eo-custom/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2023-05-22 18:05:23 +02:00
parent f98231d1c6
commit bd3ca2a600
2 changed files with 7 additions and 7 deletions

View File

@ -5,11 +5,11 @@ prefix = /usr
all:
install:
mkdir -p $(DESTDIR)$(prefix)/lib/gitlab-eo-custom/
cp -r scripts $(DESTDIR)$(prefix)/lib/gitlab-eo-custom/
mkdir -p $(DESTDIR)$(prefix)/../var/lib/gitlab/custom/
cp -r public $(DESTDIR)$(prefix)/../var/lib/gitlab/custom/
cp -r templates $(DESTDIR)$(prefix)/../var/lib/gitlab/custom/
mkdir -p $(DESTDIR)$(prefix)/lib/gitea-eo-custom/
cp -r scripts $(DESTDIR)$(prefix)/lib/gitea-eo-custom/
mkdir -p $(DESTDIR)$(prefix)/../var/lib/gitea/custom/
cp -r public $(DESTDIR)$(prefix)/../var/lib/gitea/custom/
cp -r templates $(DESTDIR)$(prefix)/../var/lib/gitea/custom/
DIST_FILES = \
Makefile \

View File

@ -1,5 +1,5 @@
MAILTO=root
LANG=C.UTF-8
*/5 * * * * gitea /usr/bin/python3 /usr/lib/gitlab-eo-custom/scripts/lag.py > /var/www/html/lag.html
*/5 * * * * gitea /usr/bin/python3 /usr/lib/gitlab-eo-custom/scripts/reviews.py > /var/www/html/reviews.html
*/5 * * * * gitea /usr/bin/python3 /usr/lib/gitea-eo-custom/scripts/lag.py > /var/www/html/lag.html
*/5 * * * * gitea /usr/bin/python3 /usr/lib/gitea-eo-custom/scripts/reviews.py > /var/www/html/reviews.html