~ubuntu-branches/ubuntu/vivid/ssed/vivid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2010-03-25 13:25:02 UTC
  • mfrom: (3.1.4 karmic)
  • Revision ID: james.westby@ubuntu.com-20100325132502-sjt1e2zud6iqcxfu
Tags: 3.62-6.4
* Non-maintainer upload
* Merge 3.62-6.3ubuntu1
  Build with default compiler
  Remove gcc-4.1 from Build-Depends
  Closes: 463296
* Update config.guess config.sub in config
* Remove config.guess config.sub in the clean target
* DH compat level is 7
* Fix debhelper-but-no-misc-depends
* Fix package-uses-deprecated-debhelper-compat-version
* Fix package-lacks-versioned-build-depends-on-debhelper
* Fix debian-rules-sets-DH_COMPAT
* Fix debian-rules-ignores-make-clean-error
* Fix ancient-standards-version
* Fix copyright-refers-to-symlink-license
* Fix copyright-without-copyright-notice
* Fix no-homepage-field
* Fix missing-dependency-on-install-info
* Fix install-info-used-in-maintainer-script
* Fix maintainer-script-empty
* Fix dh-clean-k-is-deprecated
* Fix manpage-has-useless-whatis-entry

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# postinst script for ssed
3
 
#
4
 
# see: dh_installdeb(1)
5
 
 
6
 
set -e
7
 
 
8
 
# summary of how this script can be called:
9
 
#        * <postinst> `configure' <most-recently-configured-version>
10
 
#        * <old-postinst> `abort-upgrade' <new version>
11
 
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12
 
#          <new-version>
13
 
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
14
 
#          <failed-install-package> <version> `removing'
15
 
#          <conflicting-package> <version>
16
 
# for details, see /usr/share/doc/packaging-manual/
17
 
#
18
 
# quoting from the policy:
19
 
#     Any necessary prompting should almost always be confined to the
20
 
#     post-installation script, and should be protected with a conditional
21
 
#     so that unnecessary prompting doesn't happen if a package's
22
 
#     installation fails and the `postinst' is called with `abort-upgrade',
23
 
#     `abort-remove' or `abort-deconfigure'.
24
 
 
25
 
case "$1" in
26
 
    configure)
27
 
       install-info --quiet --section "General commands" "General commands" \
28
 
           /usr/share/info/ssed.info.gz
29
 
    ;;
30
 
 
31
 
    abort-upgrade|abort-remove|abort-deconfigure)
32
 
 
33
 
    ;;
34
 
 
35
 
    *)
36
 
        echo "postinst called with unknown argument \`$1'" >&2
37
 
        exit 0
38
 
    ;;
39
 
esac
40
 
 
41
 
# dh_installdeb will replace this with shell code automatically
42
 
# generated by other debhelper scripts.
43
 
 
44
 
#DEBHELPER#
45
 
 
46
 
exit 0
47
 
 
48