summarylogtreecommitdiffstats
path: root/perl-padre.install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-padre.install')
-rw-r--r--perl-padre.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/perl-padre.install b/perl-padre.install
new file mode 100644
index 00000000000..7df923eb1e4
--- /dev/null
+++ b/perl-padre.install
@@ -0,0 +1,22 @@
+post_install() {
+ if which update-desktop-database &>/dev/null; then
+ update-desktop-database -q usr/share/applications
+ fi
+# if which update-menus &>/dev/null; then
+# update-menus
+# fi
+# if which update-mime-database &>/dev/null; then
+# update-mime-database usr/share/mime &>/dev/null
+# fi
+ if which gtk-update-icon-cache &>/dev/null; then
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ fi
+}
+
+post_upgrade() {
+ post_install $
+}
+
+post_remove() {
+ post_install $
+}