blob: 12b5ea704f3f4e2152ed536a7a1eac3a0b3fecc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
post_install() {
post_upgrade
}
post_upgrade() {
groupadd -r albion &> /dev/null
cat << "EOM"
==> New group installed: albion
==> Your user must be in the albion group for the launcher to work properly, eg.
==> sudo usermod -a -G albion ${USER}
EOM
chgrp -R albion "/opt/albion-online-launcher-bin/launcher"
chgrp -R albion "/opt/albion-online-launcher-bin/game_x64"
}
post_remove() {
cat << "EOM"
==> Group removed: albion
EOM
groupdel albion &> /dev/null
}
|