From 5d95a346042e321f2890a2f706ded2230513f928 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 30 Sep 2012 11:49:36 -0400 Subject: system/apcupsd: Fixed (Handle desktop file) Signed-off-by: dsomero --- system/apcupsd/apcupsd.SlackBuild | 2 +- system/apcupsd/doinst.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'system/apcupsd') diff --git a/system/apcupsd/apcupsd.SlackBuild b/system/apcupsd/apcupsd.SlackBuild index c568edc606091..95cbc123bec7f 100644 --- a/system/apcupsd/apcupsd.SlackBuild +++ b/system/apcupsd/apcupsd.SlackBuild @@ -27,7 +27,7 @@ PRGNAM=apcupsd VERSION=${VERSION:-3.14.10} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then diff --git a/system/apcupsd/doinst.sh b/system/apcupsd/doinst.sh index e4732cd256d1f..b707815a8b8ed 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 -- cgit v1.2.3