Updating packaging

This commit is contained in:
DarkFeather 2023-10-14 13:14:40 -05:00
parent f0685bc0af
commit cc12803ecf
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
3 changed files with 10 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
raven.mono
TheRaven-*.pkg.tar.zst
**.pkg.tar.zst
pkg/
src/
.config

View File

@ -20,7 +20,7 @@ conflicts=()
replaces=("${pkgname,,}", "aninix-${pkgname,,}")
backup=()
options=()
install=
install=installscript
changelog=
source=()
noextract=()

8
installscript Normal file
View 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
}