~ubuntu-branches/ubuntu/precise/openjdk-7/precise-security

« back to all changes in this revision

Viewing changes to debian/JB-jre-headless.postrm.in

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-08-28 23:42:18 UTC
  • mfrom: (1.3.2 upstream) (8.1.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20110828234218-037ena63yl3tkf7i
Tags: 7~b147-2.0~pre3-3ubuntu1
Regenerate the control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh -e
2
2
 
3
 
jdiralias=@jdiralias@
 
3
multiarch=@multiarch@
 
4
jdirname=@jdirname@
 
5
etcdir=/@etcdir@
4
6
 
5
7
case "$1" in
6
8
purge)
7
 
    if [ -z "$jdiralias" ]; then
 
9
    if [ -z "$jdirname" ] || [ -z "$etcdir" ]; then
8
10
        echo >&2 "$(basename $0): Internal error"
9
11
        exit 1
10
12
    fi
11
 
    rm -rf /etc/$jdiralias
 
13
    # removals of config files in /etc is handled by dpkg
12
14
 
13
15
    # XXX should remove /etc/.java ???
14
16
    ;;