updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / planeshift-svn / planeshift.install
blobb5b45ca91b7eae6e0b00ed184c54bd0ece3806c8
1 post_install() {
3 #Add 'games' group if not already there
4 getent group games > /dev/null || /usr/sbin/groupadd -g 50 games
6 cat << EOF
7 ==>
8 ==> To be able to play, save configs, and update PlaneShift,
9 ==> add your user to the games group:
10 ==> # gpasswd -a USERNAME games
11 ==> 
12 ==> Before you run the game, run psupdater or you
13 ==> Wont have the game data to play with! dont forget, updater
14 ==> needs to be run in a terminal (unless you use the 
15 ==> desktop file)
16 ==>
17 ==> One last warning, the updater might seem to halt because
18 ==> of its unique verbosity, just dont stop the updater from
19 ==> running, you will see its moving.
20 ==> If you did happen to stop the updater delete updaterinfo.xml
21 ==> # rm /opt/PlaneShift/updaterinfo.xml
22 ==> And run "psupdater" again.
23 EOF
27 post_upgrade() {
29 post_install
30   
33 post_remove() {
35 cat << EOF
36 ==>
37 ==> Please note that none of planeshift data files where removed
38 ==> remove them manually by:
39 ==> # rm -r /opt/PlaneShift
40 EOF