fix gitea

This commit is contained in:
thomas 2022-03-04 23:16:27 +01:00
parent 590bb561ad
commit 38ded86d9f
6 changed files with 6 additions and 6 deletions

View File

@ -89,8 +89,6 @@ wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y gitea
#Edit /etc/gitea/app.ini
systemctl enable --now gitea
#configuration with http://<ip>:3000

View File

@ -31,7 +31,7 @@ envinit() {
prebuild(){
[ -e /tmp/git ] && rm -fr /tmp/git
[ -e /tmp/element-web ] || mkdir /tmp/${APP}
[ -e /tmp/${APP} ] || mkdir /tmp/${APP}
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/git
cp -r /tmp/git/. /tmp/${APP}
}

View File

@ -31,7 +31,7 @@ envinit() {
prebuild(){
[ -e /tmp/git ] && rm -fr /tmp/git
[ -e /tmp/element-web ] || mkdir /tmp/${APP}
[ -e /tmp/${APP} ] || mkdir /tmp/${APP}
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/git
cp -r /tmp/git/. /tmp/${APP}
}

View File

@ -1,7 +1,7 @@
#!/bin/bash
VERSION=1.16.3
RELEASE=2
RELEASE=5
[ -e ./lib/function.sh ] && source ./lib/function.sh
@ -30,7 +30,7 @@ envinit() {
prebuild(){
[ -e /tmp/git ] && rm -fr /tmp/git
[ -e /tmp/element-web ] || mkdir /tmp/${APP}
[ -e /tmp/${APP} ] || mkdir /tmp/${APP}
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/git
cp -r /tmp/git/. /tmp/${APP}
}

View File

@ -3,5 +3,6 @@ Version: %VERSION%
Section: base
Priority: optional
Architecture: all
Depends: git
Maintainer: Thomas Legay <thomas@syngate.fr>
Description: gitea

View File

@ -3,3 +3,4 @@
id gitea &> /dev/null || useradd gitea -r -s /bin/false -d /var/lib/gitea/
chown -R gitea:gitea /var/lib/gitea/
chown gitea:gitea /etc/gitea/app.ini