~ubuntu-branches/ubuntu/natty/cheetah/natty

« back to all changes in this revision

Viewing changes to debian/python2.3-cheetah.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Chad Walstrom
  • Date: 2004-03-30 18:47:41 UTC
  • Revision ID: james.westby@ubuntu.com-20040330184741-mi0ntvnsgw28rp92
Tags: 0.9.15-5
* First unstable release!
* debian/rules:
  - Removed all traces of incorrect linking for python-cheetah.
  - Excluded .arch-ids directories from cheetah-common examples
  - Replaced entire first line of cheetah and cheetah-compile scripts
    instead of selectively appending python version.
* debian/control:
  - Cleaned up package descriptions to follow the control file style guide
    more closely.
  - Removed ${python:Depends}.  Causing incorrect dependencies on multiple
    versions of Python.  You could install python2.1-cheetah only if python
    >= 2.3 was installed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# postinst script for python2.3-cheetah
 
3
#
 
4
# see: dh_installdeb(1)
 
5
 
 
6
set -e
 
7
 
 
8
case "$1" in
 
9
    configure)
 
10
        update-alternatives --install /usr/bin/cheetah cheetah \
 
11
                        /usr/bin/cheetah-python2.3 90 \
 
12
                --slave /usr/bin/cheetah-compile cheetah-compile \
 
13
                        /usr/bin/cheetah-compile-python2.3
 
14
    ;;
 
15
 
 
16
    abort-upgrade|abort-remove|abort-deconfigure)
 
17
 
 
18
    ;;
 
19
 
 
20
    *)
 
21
        echo "postinst called with unknown argument \`$1'" >&2
 
22
        exit 1
 
23
    ;;
 
24
esac
 
25
 
 
26
#DEBHELPER#
 
27
 
 
28
exit 0
 
29
 
 
30