system/apcupsd: Fixed (Handle desktop file)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-30 11:49:36 -04:00 committed by Robby Workman
parent 9a7162e7ca
commit 5d95a34604
2 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,7 @@
PRGNAM=apcupsd
VERSION=${VERSION:-3.14.10}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then

View File

@ -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