rebuild forgejo, move app.ini to conf/app.ini
All checks were successful
ci/woodpecker/push/build_bin Pipeline was successful
ci/woodpecker/push/build_other Pipeline was successful

This commit is contained in:
leafee98 2023-07-25 12:59:19 +08:00
parent ea5bd7e4fd
commit d4dcc9b50b

View file

@ -1,7 +1,7 @@
#/usr/bin/env bash #/usr/bin/env bash
pkgname="forgejo" pkgname="forgejo"
pkgrel=1 pkgrel=2
pkgver="1.20.1-0" pkgver="1.20.1-0"
pkgdesc="A painless selfhost git service." pkgdesc="A painless selfhost git service."
url="https://codeberg.org/forgejo/forgejo" url="https://codeberg.org/forgejo/forgejo"
@ -23,8 +23,8 @@ function debian_postinst {
#!/usr/bin/env bash #!/usr/bin/env bash
mkdir -p /var/lib/forgejo mkdir -p /var/lib/forgejo
mkdir -p /etc/forgejo mkdir -p /etc/forgejo/conf
touch /etc/forgejo/app.ini touch /etc/forgejo/conf/app.ini
useradd --system git useradd --system git
chown -R git:git /var/lib/forgejo /etc/forgejo /etc/forgejo/app.ini chown -R git:git /var/lib/forgejo /etc/forgejo /etc/forgejo/app.ini