~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to debian/sdlmame.preinst

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        if dpkg --compare-versions "$2" lt "0.130u1"; then
37
37
            rm -rf /var/games/sdlmame
38
38
        fi
 
39
        if dpkg --compare-versions "$2" lt "0.133"; then
 
40
            if [ -d /usr/local/share/games/sdlmame/crsshair ] &&
 
41
                [ ! -e /usr/local/share/games/sdlmame/crosshair ]; then
 
42
                    mv /usr/local/share/games/sdlmame/crsshair \
 
43
                        /usr/local/share/games/sdlmame/crosshair
 
44
            fi
 
45
        fi
39
46
    ;;
40
47
 
41
48
    abort-upgrade)