summarylogtreecommitdiffstats
path: root/simple-fb2-reader.install
diff options
context:
space:
mode:
Diffstat (limited to 'simple-fb2-reader.install')
-rw-r--r--simple-fb2-reader.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/simple-fb2-reader.install b/simple-fb2-reader.install
new file mode 100644
index 000000000000..1fcdbfb2dbe3
--- /dev/null
+++ b/simple-fb2-reader.install
@@ -0,0 +1,18 @@
+pkgname=simple-fb2-reader
+
+post_install() {
+ echo "Updating desktop database..."
+ update-desktop-database -q
+ echo "Updating icon cache..."
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ echo "Updating mime database..."
+ update-mime-database /usr/share/mime
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}