summarylogtreecommitdiffstats
path: root/openjazz.install
blob: 56df8ea2b5a00aef5d89de275f0b6e2853f40524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

post_install() {
  echo "OpenJazz needs original Jazz Jackrabbit™ data files to play."
  echo "You can put them in '/usr/share/openjazz' for global installation or"
  echo "in ${XDG_DATA_HOME:-/.local/share}/openjazz' for yourself."
  echo "Legal game data download:"
  echo "        https://www.dosgamesarchive.com/related-games/jazz-jackrabbit"
}

post_upgrade() {
  post_install

  if [ $(vercmp "$2" 20231028) -lt 0 ]; then
    echo " => The settings/data directories have been moved from ~/.openjazz to"
    echo "    respect xdg basedir spec."
  fi
}

post_remove() {
  if [ -d usr/share/openjazz ]; then
    echo "Remember to remove/backup installed data files in '/usr/share/openjazz'."
  fi
}