From ae0c06885aec241bcbfcd2eae5ec3f69d0316a90 Mon Sep 17 00:00:00 2001 From: Alexey Shilov Date: Tue, 15 Nov 2011 16:27:56 +0200 Subject: [PATCH] Fixes: NB#291089 - Installation of clock application fails when applauncherd daemon stopped RevBy: TrustMe --- debian/applauncherd-launcher.postinst | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/applauncherd-launcher.postinst b/debian/applauncherd-launcher.postinst index 492d105..32eb534 100644 --- a/debian/applauncherd-launcher.postinst +++ b/debian/applauncherd-launcher.postinst @@ -8,7 +8,7 @@ elif [ "$1" = "triggered" ]; then # Installation of some other package may have caused applauncherd credentials to go stale, # ask applauncherd to re-exec to refresh the credentials. - if [ -s /var/run/applauncherd.lock ]; then + if [ -s /var/run/applauncherd.lock ] && [ -d /proc/`cat /var/run/applauncherd.lock` ]; then kill -HUP `cat /var/run/applauncherd.lock` fi fi diff --git a/debian/changelog b/debian/changelog index 2128129..92cb344 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ applauncherd (3.0.1) unstable; urgency=low * Fixes: NB#273361 - Applaucherd is possible to start with wrong parameters * Changes: Updated list of libraries to preload + * Fixes: NB#291089 - Installation of clock application fails when applauncherd daemon stopped -- Alexey Shilov Mon, 14 Nov 2011 13:39:38 +0200