~ubuntu-branches/ubuntu/jaunty/openarena/jaunty

« back to all changes in this revision

Viewing changes to misc/setup/pkg/ioquake3/postremove

  • Committer: Bazaar Package Importer
  • Author(s): Bruno "Fuddl" Kleinert, Bruno "Fuddl" Kleinert
  • Date: 2008-04-24 14:33:54 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080424143354-0cuxsalv98ajw2js
Tags: 0.7.6-1
[ Bruno "Fuddl" Kleinert ]
* New upstream release
* Freshen 10_fix_build_and_binary_on_alpha.dpatch to apply to latest
  upstream sources
* Remove 10-fix_menudef.h_includes.dpatch which pulled in a missing header
  file. The header is now included in the upstream tarball.
* Remove debian/watch, because upstream places its new releases too often to
  different download locations
* Updated debian/copyright to reflect the download location
* Expand copyright years in debian/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# @(#)postremove        $Id: postremove,v 1.3 2006/01/21 12:54:52 coyote Exp $
 
4
#
 
5
# postremove script for quake3
 
6
 
 
7
quake3_dir=$BASEDIR
 
8
dest_dir=${PKG_INSTALL_ROOT}/usr/local/bin
 
9
 
 
10
if [ -d ${dest_dir} ]; then
 
11
        for inst_script in ioq3ded.sh ioquake3.sh
 
12
        do
 
13
                dest_script=${dest_dir}/${inst_script}
 
14
                if [ -h ${dest_script} ]; then
 
15
                        rm -f ${dest_script}
 
16
                fi
 
17
        done
 
18
fi
 
19
 
 
20
exit 0
 
21