~ubuntu-branches/ubuntu/raring/turtleart/raring

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Luke Faraone
  • Date: 2010-08-23 22:35:55 UTC
  • Revision ID: james.westby@ubuntu.com-20100823223555-tt2zudttjx1lihq9
Tags: 96-1
* New upstream version.
* Include sugar-turtleart-activity so TurtleArt works in Sugar. 
* debian/rules: Disable bundlebuilder in setup.py, use distutils instead. 
* Drop 1000-turtleart-desktop-encoding-fix.patch, merged upstream. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh 
 
2
set -e
 
3
 
 
4
DEFAULTS=/etc/gnome/defaults.list
 
5
if [ -f $DEFAULTS ]; then
 
6
        cat $DEFAULTS | sed -e '/application\/x\-turtle\-art\=turtleart\.desktop/d' > ./defaults.list
 
7
        mv ./defaults.list $DEFAULTS
 
8
        gtk-update-icon-cache -qf /usr/share/icons/hicolor
 
9
fi
 
10
update-mime-database /usr/share/mime
 
11
 
 
12
# for freedeskoptop compatible env's
 
13
if [ -x update-desktop-database ]; then
 
14
        update-desktop-database 
 
15
fi
 
16
# for KDE
 
17
if [ -x kbuildsycoca ]; then
 
18
        kbuildsycoca
 
19
fi
 
20
 
 
21
# dh_installdeb will replace this with shell code automatically
 
22
# generated by other debhelper scripts.
 
23
 
 
24
#DEBHELPER#
 
25
 
 
26