File: fbreader.postinst

package info (click to toggle)
fbreader 0.10.7dfsg-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 9,684 kB
  • ctags: 10,321
  • sloc: cpp: 60,987; xml: 7,818; makefile: 774; sh: 283
file content (21 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (34)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh

if [ -x /usr/bin/gtk-update-icon-cache ]
then
  /usr/bin/gtk-update-icon-cache -f /usr/share/icons/hicolor
fi

if [ -x /usr/bin/update-desktop-database ]
then
  /usr/bin/update-desktop-database
fi

if [ -x /usr/bin/update-mime-database ]
then
  /usr/bin/update-mime-database /usr/share/mime
fi

if [ "$1" = "configure" -a -z "$2" -a -x /usr/bin/maemo-select-menu-location ]
then
	/usr/bin/maemo-select-menu-location FBReader.desktop
fi