[Pkg-xfce-devel] Work to be done before uploading 4.2.3

Simon Huggins huggie at earth.li
Mon Nov 7 08:19:12 UTC 2005


On Sun, Nov 06, 2005 at 08:42:31PM -0500, Rudy Godoy wrote:
> El d?a 06/11/2005 a 19:34 Yves-Alexis Perez escribi?...
> > And, by the way, i'm not sure about the postinst script which pkill
> > -USR1 -f xfce-mcs-manager.
> > 1) here xfce-mcs-manager crashs after the rehash, and I don't know why
> > 2) if xfce-mcs-manager isnt running, pkill return 1, postinst return 1,
> > and the upgrade is failed
> > What do you think about ?
> I guess we can check for xfce-mcs-manager running and if so, do the
> pkill, otherwise just launch it (thus it will read the config files)
> like:

> if [ `ps ax | awk '{print $5}' | grep mcs-manager` ];
> then
>    pkill -USR1 -f xfce-mcs-manager
> fi

Is it not easier to just do pkill -USR1 -f xfce-mcs-manager || true ?

Simon.

-- 
        Black Cat Networks        -(  "You heard of Kung Fu?  Well get   )-
UK domain, email and web hosting  -(        ready for Pork Chop!"        )-
http://www.blackcatnetworks.co.uk -(                                     )-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20051107/4fc58f35/attachment.pgp


More information about the Pkg-xfce-devel mailing list