blob: 895c8643187054ecc871953f002f1fd3c240b12b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
post_install() {
echo "NOTE: To use eilin as normal user you have to add yourself into \"eilin\" group"
getent group eilin >> /dev/null || {
echo "Creating group 'eilin' ..."
groupadd --system eilin
}
chown -c :eilin /usr/bin/eilin /usr/bin/qeilin /usr/bin/testhid
}
post_upgrade() {
post_install
}
post_remove() {
getent group eilin &>/dev/null && {
echo "Deleting group 'eilin' ..."
groupdel eilin
}
}
|