summaryrefslogtreecommitdiff
path: root/development/poedit/doinst.sh
diff options
context:
space:
mode:
authorNiklas Nille Åkerström <nille.kungen[AT]gmail.com>2010-05-12 23:28:46 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:28:46 +0200
commit9e4cbc24e8e2bbfad41ab464f2cb92464e61ada8 (patch)
tree8f843a1579edc0e4c37ddce05a0763bff4f1d844 /development/poedit/doinst.sh
parent3b12e4271b0a2577c57a4e2bc93fc25c2e2f2fce (diff)
downloadslackbuilds-9e4cbc24e8e2bbfad41ab464f2cb92464e61ada8.tar.gz
development/poedit: Added to 12.2 repository
Diffstat (limited to 'development/poedit/doinst.sh')
-rw-r--r--development/poedit/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/development/poedit/doinst.sh b/development/poedit/doinst.sh
new file mode 100644
index 0000000000..0acbacff73
--- /dev/null
+++ b/development/poedit/doinst.sh
@@ -0,0 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi