source: air-manager/trunk/fuentes/debian/air-installer.postinst @ 7356

Last change on this file since 7356 was 7356, checked in by Juanma, 18 months ago

Changed air-installer.postinst

  • Property svn:executable set to *
File size: 569 bytes
Line 
1#!/bin/bash
2
3APP="air-installer"
4EXT="air"
5
6# Create mime xml
7echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
8<mime-info xmlns=\"http://www.freedesktop.org/standards/shared-mime-info\">
9    <mime-type type=\"application/x-$APP\">
10        <comment>Install air app</comment>
11        <icon name=\"air-installer\"/>
12        <glob pattern=\"*.$EXT\"/>
13    </mime-type>
14</mime-info>" > /usr/share/mime/packages/application-x-$APP.xml
15
16# update databases for both application and mime
17update-desktop-database /usr/share/applications
18update-mime-database    /usr/share/mime
19
Note: See TracBrowser for help on using the repository browser.