mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-08-07 09:01:29 -04:00
Adding postgres users in the PKGBUILD
This commit is contained in:
parent
4932dc8cf1
commit
d4d2d30caa
@ -10,6 +10,7 @@ license=("GPLv3")
|
||||
groups=()
|
||||
depends=("dotnet-runtime>=3" "aspnet-runtime>=3")
|
||||
makedepends=("dotnet-sdk>=3" "cmake" "gcc" "make" "npm" "git")
|
||||
install="kyoo.install"
|
||||
source=("git+https://github.com/AnonymusRaccoon/Kyoo" #tag=v${pkgver}
|
||||
"kyoo.service"
|
||||
"kyoo.sysusers")
|
||||
@ -37,7 +38,3 @@ package() {
|
||||
install -Dm 644 kyoo.service -t "$pkgdir/usr/lib/systemd/system/"
|
||||
install -Dm 644 kyoo.sysusers "$pkgdir/usr/lib/sysusers.d/kyoo.conf"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
sudo -u postgres createuser -d kyoo
|
||||
}
|
||||
|
3
install/aur/kyoo.install
Normal file
3
install/aur/kyoo.install
Normal file
@ -0,0 +1,3 @@
|
||||
post_install() {
|
||||
sudo -u postgres createuser -d kyoo
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user