summarylogtreecommitdiffstats
path: root/dofus.install
blob: 0c797624ab769a18acdae97c7d458a255ddbc8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
  chgrp -R games /opt/ankama/dofus
  chmod -R g+w /opt/ankama/dofus
  touch /opt/ankama/dofus/share/log4as.xml
  chmod 666 /opt/ankama/dofus/share/log4as.xml
  cat <<END
The game files are installed under group "games". Please add your user
to this group with "usermod -a -G games", otherwise you will need to
enter your password when the game auto-updates.
END
}

post_upgrade() {
  post_install
}