~ubuntu-branches/ubuntu/hoary/pcre3/hoary-security

« back to all changes in this revision

Viewing changes to debian/prerm

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2004-03-12 13:23:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040312132302-id6ksx1l8dwssbw9
Tags: 4.5-1.1
* NMU to fix rc-bugs.
* Update libtool related files to fix build-error on mips, keep original
  config.in, as it is no generated file. (Closes: #237265)
* pcregrep replaces pgrep. (Closes: #237564)
* Bump shlibs, pcre 4.5 includes two new functions.
* Let pgrep's /usr/share/doc symlink point to the package it depends on,
  pcregrep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
2
 
 
3
 
package=PACKAGE
4
 
 
5
 
case "$1" in
6
 
        remove|upgrade|remove-in-favour|deconfigure-in-favour)
7
 
 
8
 
                # Remove /usr/doc symlink
9
 
                if [ -L /usr/doc/$package ]; then
10
 
                    rm -f /usr/doc/$package
11
 
                fi
12
 
                ;;
13
 
 
14
 
        failed-upgrade)
15
 
                ;;
16
 
esac