~ubuntu-branches/ubuntu/wily/lightspark/wily-proposed

« back to all changes in this revision

Viewing changes to debian/browser-plugin-lightspark.prerm

  • Committer: Package Import Robot
  • Author(s): Gabriele Giacone
  • Date: 2015-07-15 17:19:30 UTC
  • mto: This revision was merged to the branch mainline in revision 51.
  • Revision ID: package-import@ubuntu.com-20150715171930-zao3iotvnwui3isc
* Run dpkg-vendor at build time (Closes: #790807).
* Remove Didier from Uploaders, add myself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
set -e
4
 
 
5
 
case "$1" in
6
 
    remove|upgrade|deconfigure)
7
 
        ALTNAME=flash-mozilla.so
8
 
        if dpkg-vendor --derives-from Ubuntu; then
9
 
            ALTNAME=mozilla-flashplugin
10
 
        fi
11
 
        update-alternatives --quiet --remove $ALTNAME \
12
 
                /usr/lib/lightspark/liblightsparkplugin.so
13
 
    ;;
14
 
 
15
 
    failed-upgrade)
16
 
    ;;
17
 
 
18
 
    *)
19
 
        echo "prerm called with unknown argument \`$1'" >&2
20
 
        exit 1
21
 
    ;;
22
 
esac
23
 
 
24
 
#DEBHELPER#
25
 
 
26
 
exit 0
27
 
 
28