~ubuntu-branches/ubuntu/quantal/hardening-wrapper/quantal

« back to all changes in this revision

Viewing changes to debian/hardening-wrapper.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2010-01-10 12:35:38 UTC
  • Revision ID: james.westby@ubuntu.com-20100110123538-6sxa3bqcmxfqkbys
Tags: 1.21
* debian/control: add ${misc:Depends} to control file entries to
  keep lintian happy.
* hardening-check: add -q option to only report failures.
* really handle gcc 4.5 diversion (Closes: 564596).
* handle ld diversion when binutils-gold installed (Closes: 535037).

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
}
8
8
 
9
9
if [ "$1" = "remove" ]; then
10
 
        for ver in 4.1 4.2 4.3 4.4
 
10
        # handle diversions (change debian/rules, debian/h-w.preinst too)
 
11
        for ver in 4.1 4.2 4.3 4.4 4.5
11
12
        do
12
13
                for i in gcc g++
13
14
                do
14
15
                        undiv "$i-$ver"
15
16
                done
16
17
        done
17
 
        undiv ld
 
18
        undiv ld.bdf
 
19
        undiv ld.gold
18
20
fi
19
21
 
20
22
#DEBHELPER#