~ubuntu-branches/ubuntu/trusty/bc/trusty

« back to all changes in this revision

Viewing changes to debian/dc.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-05 12:24:03 UTC
  • mfrom: (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20071205122403-rv1a7x90ktu1wl95
Tags: 1.06.94-3ubuntu1
* Merge with Debian; remaining changes:
  - Make bc/dc notice read and write errors on its input and output.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#DEBHELPER#
11
11
 
12
12
case "$1" in
13
 
    configure)
14
 
        #
15
 
        install-info --quiet --section "General commands" "General commands" \
16
 
                /usr/share/info/dc.info.gz 
17
 
        #
18
 
#       if [ -x /usr/bin/update-menus ]
19
 
#       then
20
 
#           update-menus 
21
 
#       fi
22
 
        #
23
 
#       if command -v install-docs >/dev/null 2>&1 
24
 
#       then
25
 
#           install-docs -i /usr/share/doc-base/dc
26
 
#       fi
27
 
        ;;
28
 
    abort-upgrade|abort-remove|abort-deconfigure)
29
 
        ;;
 
13
    configure|abort-remove|abort-deconfigure)
 
14
        s="General commands"
 
15
        install-info --quiet --section "$s" "$s" /usr/share/info/dc.info.gz
 
16
        ;;
 
17
 
 
18
    abort-upgrade)
 
19
        # Nothing to undo
 
20
        ;;
 
21
 
30
22
    *)
31
23
        echo "postinst called with unknown argument \`$1'" >&2
32
24
        ;;
33
25
esac
34
 
 
35
 
 
36
 
 
37