summarylogtreecommitdiffstats
path: root/albion-online-launcher-bin.install
blob: 735751c08d4dbeaec2c8096039f248342052a1ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"
  chgrp -R albion "/opt/albion-online-launcher-bin/staging_x64"
}