blob: 55c6a58c1c57418e92a363d5d4567e7dc2493617 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
post_upgrade() {
/usr/bin/getent group 'lrun' >/dev/null 2>&1 || usr/bin/groupadd -g '593' 'lrun' &>/dev/null
}
post_install() {
post_upgrade
echo 'NOTE: To run lrun as normal user you have to add yourself into lrun group'
}
post_remove() {
if /usr/bin/getent group 'lrun' >/dev/null 2>&1; then
/usr/bin/groupdel 'lrun'
fi
}
|