Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
aports
Commits
a1e696a2
Commit
a1e696a2
authored
Jun 23, 2022
by
alice
🍫
Browse files
community/gitea: don't run passwd -u without fresh user creation
parent
f04a10d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
community/gitea/APKBUILD
View file @
a1e696a2
...
@@ -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"
...
...
community/gitea/gitea.pre-install
View file @
a1e696a2
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment