diff options
Diffstat (limited to 'distributions/debian/maemo3/fbreader-maemo2.postinst')
-rw-r--r-- | distributions/debian/maemo3/fbreader-maemo2.postinst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/distributions/debian/maemo3/fbreader-maemo2.postinst b/distributions/debian/maemo3/fbreader-maemo2.postinst new file mode 100644 index 0000000..fffe4ce --- /dev/null +++ b/distributions/debian/maemo3/fbreader-maemo2.postinst @@ -0,0 +1,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 |