diff options
author | Carsten Teibes | 2023-10-29 00:11:16 +0200 |
---|---|---|
committer | Carsten Teibes | 2023-10-29 00:11:16 +0200 |
commit | 33c4bb70118728ee6b9fc4c6d1bed385f5efcafe (patch) | |
tree | ecbc12643c8b17c5a7ee861390c5f4ad1f00686a /openjazz.install | |
parent | b78a539a64b487796dfa3bf9a5c700aee2a08e59 (diff) | |
download | aur-33c4bb70118728ee6b9fc4c6d1bed385f5efcafe.tar.gz |
[upd] 20190106→20231028
Diffstat (limited to 'openjazz.install')
-rw-r--r-- | openjazz.install | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/openjazz.install b/openjazz.install index ae2aeaf2b058..56df8ea2b5a0 100644 --- a/openjazz.install +++ b/openjazz.install @@ -1,13 +1,19 @@ post_install() { - echo "OpenJazz needs original Jazz Jackrabbit™ data files to play. You can put them in" - echo "'/usr/share/openjazz' for global installation or in '~/.openjazz' for yourself." + 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 " http://www.dosgamesarchive.com/gamegroup/jazz-jackrabbit/" + 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() { |