From bd3ca2a600f09250a6dd2e41737c531605c6a3d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 22 May 2023 18:05:23 +0200 Subject: [PATCH] refer to gitea (not gitlab) directories (#77804) --- Makefile | 10 +++++----- debian/gitea-eo-custom.cron.d | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 7c994b1..95323e2 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/debian/gitea-eo-custom.cron.d b/debian/gitea-eo-custom.cron.d index 7f62ffb..bbce194 100644 --- a/debian/gitea-eo-custom.cron.d +++ b/debian/gitea-eo-custom.cron.d @@ -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