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 @@
# Maintainer: 6543 <6543@obermui.de>
pkgname=gitea
pkgver=1.16.8
pkgrel=0
pkgrel=1
pkgdesc="A self-hosted Git service written in Go"
url="https://gitea.io"
# armhf: failing tests
arch="all"
license="MIT"
options="net"
......
#!/bin/sh
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
passwd -u 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
exit 0
Markdown is supported
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