~ubuntu-branches/ubuntu/raring/djvulibre/raring

« back to all changes in this revision

Viewing changes to desktopfiles/register-djvu-mime.in

  • Committer: Bazaar Package Importer
  • Author(s): Barak A. Pearlmutter
  • Date: 2008-04-07 09:58:58 UTC
  • Revision ID: james.westby@ubuntu.com-20080407095858-pmacpv5w1ua376cn
Tags: 3.5.20-7
* Generate djview transition package (closes: #473341)
* Postscript generation issue (four-color image into cpaldjvu into
  djvups without -mode=bw) seems to be resolved (closes: #278945)
* Remove djvudigital from djvulibre-bin (closes: #461226)
* Rewrite desktop package description (closes: #474689, #474700)

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#C- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
13
#C- GNU General Public License for more details.
14
14
#C-
15
 
#C- $Id: register-djvu-mime.in,v 1.8 2007/03/25 20:48:22 leonb Exp $
 
15
#C- $Id: register-djvu-mime.in,v 1.9 2008/02/21 20:08:20 leonb Exp $
16
16
 
17
17
 
18
18
xdg_mime=XDG_MIME
65
65
   "$xdg_icon_resource" install --noupdate --context mimetypes \
66
66
       --size 48 ./hi48-djvu.png image-vnd.djvu
67
67
   "$xdg_icon_resource" forceupdate
68
 
   "$xdg_mime" install ./djvulibre-mime.xml
 
68
   ## This is disabled to avoid conflicting with the
 
69
   ## djvu information provided by freedesktop.org
 
70
   ## "$xdg_mime" install ./djvulibre-mime.xml
69
71
   ;;
70
72
uninstall)
71
73
   "$xdg_icon_resource" uninstall --noupdate --context mimetypes \
75
77
   "$xdg_icon_resource" uninstall --noupdate --context mimetypes \
76
78
       --size 48 image-vnd.djvu
77
79
   "$xdg_icon_resource" forceupdate
78
 
   "$xdg_mime" uninstall ./djvulibre-mime.xml
 
80
   ## This is disabled to avoid conflicting with the
 
81
   ## djvu information provided by freedesktop.org
 
82
   ## "$xdg_mime" uninstall ./djvulibre-mime.xml
79
83
   ;;
80
84
*)
81
85
   echo 1>&2 "Usage: $0 {install|uninstall}"