~ubuntu-branches/ubuntu/natty/bluefish/natty-proposed

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Davide Puricelli (evo)
  • Date: 2005-04-23 17:05:18 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050423170518-pb8zi3vg32cm6g04
Tags: 1.0-1
* Acknowledge NMU, thanks Leo; closes: #291222.
* Updated debian/ files, thanks Daniel Leidert. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
 
1
#! /bin/sh
 
2
# postinst script for bluefish
 
3
#
 
4
# see: dh_installdeb(1)
2
5
 
3
6
set -e
4
7
 
5
 
package=bluefish
6
 
 
7
 
if test -x /usr/bin/update-menus; then update-menus; fi
8
 
 
9
 
if [ -d /usr/doc ]; then
10
 
   if [ ! -e /usr/doc/$package -a -d /usr/share/doc/$package ]; then
11
 
         ln -s ../share/doc/$package /usr/doc/$package
12
 
   fi
13
 
fi
 
8
# dh_installdeb will replace this with shell code automatically
 
9
# generated by other debhelper scripts.
 
10
 
 
11
#DEBHELPER#
 
12
 
 
13
if [ -x /usr/bin/update-mime-database ] ; then
 
14
        /usr/bin/update-mime-database /usr/share/mime
 
15
fi
 
16
 
 
17
if [ -x /usr/bin/update-desktop-database ] ; then
 
18
        /usr/bin/update-desktop-database /usr/share/applications
 
19
fi
 
20
 
 
21
exit 0