mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
13 lines
375 B
Text
13 lines
375 B
Text
post_install() {
|
|
getent group umurmur > /dev/null || groupadd -r umurmur 1>/dev/null
|
|
getent passwd umurmur > /dev/null || useradd -r -M -g umurmur -s /bin/false umurmur 1>/dev/null
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
post_remove() {
|
|
getent passwd umurmur > /dev/null && userdel umurmur 1>/dev/null
|
|
getent group umurmur > /dev/null && groupdel umurmur 1>/dev/null
|
|
}
|