mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
11 lines
366 B
Text
11 lines
366 B
Text
|
post_install() {
|
||
|
getent group unbound &>/dev/null || groupadd -r unbound >/dev/null
|
||
|
getent passwd unbound &>/dev/null || useradd -r -g unbound -d /etc/unbound -s /bin/false -c unbound unbound >/dev/null
|
||
|
}
|
||
|
|
||
|
post_remove() {
|
||
|
getent passwd unbound &>/dev/null && userdel unbound >/dev/null
|
||
|
getent group unbound &>/dev/null && groupdel unbound >/dev/null
|
||
|
return 0
|
||
|
}
|