~ubuntu-branches/ubuntu/quantal/aspectc++/quantal

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
# summary of how this script can be called:
4
 
#        * <postinst> `configure' <most-recently-configured-version>
5
 
#        * <old-postinst> `abort-upgrade' <new version>
6
 
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
7
 
#          <new-version>
8
 
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
9
 
#          <failed-install-package> <version> `removing'
10
 
#          <conflicting-package> <version>
11
 
# for details, see http://www.debian.org/doc/debian-policy/ or
12
 
# the debian-policy package
13
 
#
14
 
 
15
 
PUMA_CONFIG=/etc/puma.config
16
 
 
17
 
case "$1" in
18
 
    configure)
19
 
        echo generating ${PUMA_CONFIG}
20
 
        (cd /etc; /usr/bin/ag++ --gen_config)
21
 
        chown root:root $PUMA_CONFIG
22
 
        chmod 644 $PUMA_CONFIG
23
 
    ;;
24
 
 
25
 
    abort-upgrade|abort-remove|abort-deconfigure)
26
 
 
27
 
    ;;
28
 
 
29
 
    *)
30
 
        echo "postinst called with unknown argument \`$1'" >&2
31
 
        exit 1
32
 
    ;;
33
 
esac
34
 
 
35
 
# dh_installdeb will replace this with shell code automatically
36
 
# generated by other debhelper scripts.
37
 
 
38
 
#DEBHELPER#
39
 
 
40
 
exit 0