summarylogtreecommitdiffstats
path: root/augustus-game.install
blob: 8162b824d6903c3043d7ae957571c9afa46aabdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
post_install() {
    echo ">> augustus requires a copy of the original Caesar III. The binary will ask for game directory on first start."

    echo "
augustus also requires additional folders/files to be installed to your Caesar III installation.
The easiest way is to symlink the 'maps' and 'assets' folder from '/opt/augustus-game'
into the root of your Caesar III installation.

If you are in your Caesar III installation folder
you can copy & paste the following lines to symlink them (depending on your shell):

  ln -s /opt/augustus-game/res/maps .
  ln -s /opt/augustus-game/assets .


For further information and how to add high-quality MP3 music/sounds to your installation see:
  https://github.com/Keriew/augustus/blob/master/doc/RUNNING.md
"
}

post_upgrade() {
   echo "
Augustus renamed the 'mods' folder to 'assets', please check your Caesar III installation.

If there is an 'mods' folder, please unlink it and link the assets folder from /opt into it:

  ln -s /opt/augustus-game/assets .
"
}

post_remove() {
    echo "
Don't forget to remove/unlink the 'maps' and 'assets' folder from your Caesar III installation.
"
}