~ubuntu-branches/ubuntu/quantal/gnash/quantal-proposed

« back to all changes in this revision

Viewing changes to packaging/debian/mozilla-plugin-gnash.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-10-14 16:06:54 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20081014160654-0anbl2mi098aee2h
Tags: 0.8.4-0ubuntu1
* LP: #84526 - Gnash menu launcher (/usr/share/applications/gnash.desktop
  file) doesn't start any application, also gnash isn't asociated with SWF
  mimetype; we dont show gnash in the .desktop launcher; we add
  NoDisplay=true, add a GenericName and Comment for the sake of
  completeness. Also we add the proper MimeType value, remove Encoding,
  don't use absolute paths for icon and exec and dont use specific icon
  file format suffix.
  - update debian/gnash.desktop

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
 
        configure)
7
 
                      for p in iceape iceweasel mozilla firefox xulrunner midbrowser; do 
8
 
                                                update-alternatives --install "/usr/lib/$p/plugins/flashplugin-alternative.so" "$p-flashplugin" /usr/lib/gnash/libgnashplugin.so 50;
9
 
                                        done
10
 
        ;;
11
 
        abort-upgrade|abort-remove|abort-deconfigure)
12
 
                echo "postinst called with argument \`$1'" >&2
13
 
                exit 1
14
 
        ;;
15
 
 
16
 
        *)
17
 
                echo "postinst called with unknown argument \`$1'" >&2
18
 
                exit 1
19
 
        ;;
20
 
esac
21
 
 
22
 
#DEBHELPER
23
 
 
24
 
exit 0
25