Commit a1e696a2 authored by alice's avatar alice 🗡
Browse files

community/gitea: don't run passwd -u without fresh user creation

parent f04a10d9
...@@ -4,10 +4,9 @@ ...@@ -4,10 +4,9 @@
# Maintainer: 6543 <6543@obermui.de> # Maintainer: 6543 <6543@obermui.de>
pkgname=gitea pkgname=gitea
pkgver=1.16.8 pkgver=1.16.8
pkgrel=0 pkgrel=1
pkgdesc="A self-hosted Git service written in Go" pkgdesc="A self-hosted Git service written in Go"
url="https://gitea.io" url="https://gitea.io"
# armhf: failing tests
arch="all" arch="all"
license="MIT" license="MIT"
options="net" options="net"
......
#!/bin/sh #!/bin/sh
addgroup -S -g 82 www-data 2>/dev/null addgroup -S -g 82 www-data 2>/dev/null
adduser -S -D -h /var/lib/gitea -s /bin/ash -G www-data -g gitea gitea 2>/dev/null adduser -S -D -h /var/lib/gitea -s /bin/ash -G www-data -g gitea gitea 2>/dev/null \
passwd -u gitea 2>/dev/null && passwd -u gitea 2>/dev/null
exit 0 exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment