summaryrefslogtreecommitdiff
path: root/system/mrxvt/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 12:49:22 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:10 -0500
commit9d0d6888c18fecb4470b9c9f09c99b6106ac637f (patch)
tree71ca3e23cb5b5ecbf7cca6a77853c1f0da41a9c1 /system/mrxvt/doinst.sh
parentc20711d8f80d311bc3554e4fe8b517f89a1bfeea (diff)
downloadslackbuilds-9d0d6888c18fecb4470b9c9f09c99b6106ac637f.tar.gz
system/mrxvt: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/mrxvt/doinst.sh')
-rw-r--r--system/mrxvt/doinst.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/mrxvt/doinst.sh b/system/mrxvt/doinst.sh
index bdee9c86f1..b95f8639ac 100644
--- a/system/mrxvt/doinst.sh
+++ b/system/mrxvt/doinst.sh
@@ -1,4 +1,3 @@
-
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -17,3 +16,8 @@ config etc/mrxvt/submenus.menu.new
config etc/mrxvt/mrxvtrc.new
config etc/mrxvt/mrxvtrc.sample.new
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+