summaryrefslogtreecommitdiff
path: root/system/apcupsd/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 11:49:36 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:09 -0500
commit5d95a346042e321f2890a2f706ded2230513f928 (patch)
treee5d6fad687af3a7e420575e79be534709ea46dfa /system/apcupsd/doinst.sh
parent9a7162e7ca35875565f341940f99b981ca87ae26 (diff)
downloadslackbuilds-5d95a346042e321f2890a2f706ded2230513f928.tar.gz
system/apcupsd: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/apcupsd/doinst.sh')
-rw-r--r--system/apcupsd/doinst.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/apcupsd/doinst.sh b/system/apcupsd/doinst.sh
index e4732cd256..b707815a8b 100644
--- a/system/apcupsd/doinst.sh
+++ b/system/apcupsd/doinst.sh
@@ -31,3 +31,6 @@ config etc/apcupsd/offbattery.new
config etc/apcupsd/onbattery.new
config etc/logrotate.d/apcupsd.new
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi