diff options
Diffstat (limited to 'system/apcupsd/doinst.sh')
-rw-r--r-- | system/apcupsd/doinst.sh | 3 |
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 |