~ubuntu-branches/ubuntu/quantal/elinks/quantal

« back to all changes in this revision

Viewing changes to debian/elinks-lite.prerm

  • Committer: Bazaar Package Importer
  • Author(s): Siegfried-Angel Gevatter Pujals (RainCT)
  • Date: 2008-02-01 16:29:06 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080201162906-xdourui5tyjva0al
Tags: 0.11.3-5ubuntu1
 
* Merge from Debian unstable (LP: #187936); remaining changes:
  - Add X-Ubuntu-Gettext-Domain to .desktop files.
  - debian/control: Maintainer field update.
* Improve the text in the .desktop file and add some translations.
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# prerm script for less
3
 
#
4
 
# see: dh_installdeb(1)
 
1
#!/bin/sh
5
2
 
6
3
set -e
7
4
 
8
 
# summary of how this script can be called:
9
 
#        * <prerm> `remove'
10
 
#        * <old-prerm> `upgrade' <new-version>
11
 
#        * <new-prerm> `failed-upgrade' <old-version>
12
 
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13
 
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
14
 
#          <package-being-installed> <version> `removing'
15
 
#          <conflicting-package> <version>
16
 
# for details, see /usr/doc/packaging-manual/
17
 
 
18
5
case "$1" in
19
6
    remove)
20
 
        update-alternatives --quiet --remove links /usr/bin/elinks
21
 
        update-alternatives --quiet --remove www-browser /usr/bin/elinks
 
7
        update-alternatives --quiet --remove www-browser /usr/bin/elinks
22
8
        ;;
23
9
    upgrade|failed-upgrade|deconfigure)
24
10
        ;;
28
14
    ;;
29
15
esac
30
16
 
31
 
# dh_installdeb will replace this with shell code automatically
32
 
# generated by other debhelper scripts.
33
 
 
34
17
#DEBHELPER#
35
18
 
36
19
exit 0
37
 
 
38