Updating packaging
This commit is contained in:
parent
f0685bc0af
commit
cc12803ecf
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
raven.mono
|
||||
TheRaven-*.pkg.tar.zst
|
||||
**.pkg.tar.zst
|
||||
pkg/
|
||||
src/
|
||||
.config
|
||||
|
2
PKGBUILD
2
PKGBUILD
@ -20,7 +20,7 @@ conflicts=()
|
||||
replaces=("${pkgname,,}", "aninix-${pkgname,,}")
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
install=installscript
|
||||
changelog=
|
||||
source=()
|
||||
noextract=()
|
||||
|
8
installscript
Normal file
8
installscript
Normal file
@ -0,0 +1,8 @@
|
||||
pre_install() {
|
||||
groupadd raven &>/dev/null
|
||||
useradd -g raven -s /bin/false raven &> /dev/null
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
getent passwd raven &>/dev/null && userdel raven &> /dev/null
|
||||
}
|
Loading…
Reference in New Issue
Block a user