summaryrefslogtreecommitdiff
path: root/pcr/petri-foo/petri-foo.install
diff options
context:
space:
mode:
authorGuest One <theguestone@gmail.com>2013-05-16 23:24:10 +0200
committerGuest One <theguestone@gmail.com>2013-05-16 23:24:10 +0200
commitee473c2513aeb81ba7ce9f47844f3e4b752a6004 (patch)
treee5c0026a875ed359a3489879e56c697c7831926e /pcr/petri-foo/petri-foo.install
parentb52785d38e3ac1bc85c2454870c354846ed78b50 (diff)
added new package petri-foo 0.1.87-1
Diffstat (limited to 'pcr/petri-foo/petri-foo.install')
-rw-r--r--pcr/petri-foo/petri-foo.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/pcr/petri-foo/petri-foo.install b/pcr/petri-foo/petri-foo.install
new file mode 100644
index 000000000..5dd24bbe5
--- /dev/null
+++ b/pcr/petri-foo/petri-foo.install
@@ -0,0 +1,19 @@
+updatedesktopdtb() {
+ [ -x /usr/bin/update-desktop-database ] \
+ && update-desktop-database -q
+ [ -x /usr/bin/update-mime-database ] \
+ && update-mime-database usr/share/mime > /dev/null 2>&1
+}
+
+post_install() {
+ updatedesktopdtb
+}
+
+post_upgrade() {
+ updatedesktopdtb
+}
+
+post_remove() {
+ updatedesktopdtb
+}
+