File: postrm

package info (click to toggle)
turtleart 98-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 2,772 kB
  • ctags: 741
  • sloc: python: 9,109; sh: 14; makefile: 11; xml: 7
file content (28 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh 
set -e

if [ `which gtk-update-icon-cache` ]; then
    # Update the cache if we can, if not it's fine.
    gtk-update-icon-cache -qf /usr/share/icons/hicolor || true
    gtk-update-icon-cache -qf /usr/share/icons/gnome || true
fi

if [ `which update-mime-database` ]; then
    update-mime-database /usr/share/mime
fi

# for freedeskoptop compatible env's
if [ `which update-desktop-database` ]; then
    update-desktop-database	
fi
# for KDE
if [ `which kbuildsycoca` ]; then
    kbuildsycoca
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#