From d4dcc9b50b64dec328f4b7e4aaf58c3b909534d7 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Tue, 25 Jul 2023 12:59:19 +0800 Subject: [PATCH] rebuild forgejo, move app.ini to conf/app.ini --- forgejo-bin/DEBBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forgejo-bin/DEBBUILD b/forgejo-bin/DEBBUILD index 979c34c..f1cf95b 100644 --- a/forgejo-bin/DEBBUILD +++ b/forgejo-bin/DEBBUILD @@ -1,7 +1,7 @@ #/usr/bin/env bash pkgname="forgejo" -pkgrel=1 +pkgrel=2 pkgver="1.20.1-0" pkgdesc="A painless selfhost git service." url="https://codeberg.org/forgejo/forgejo" @@ -23,8 +23,8 @@ function debian_postinst { #!/usr/bin/env bash mkdir -p /var/lib/forgejo -mkdir -p /etc/forgejo -touch /etc/forgejo/app.ini +mkdir -p /etc/forgejo/conf +touch /etc/forgejo/conf/app.ini useradd --system git chown -R git:git /var/lib/forgejo /etc/forgejo /etc/forgejo/app.ini