Message-ID: <email address hidden>
Date: Wed, 23 Jun 2004 19:43:26 -0400
From: Ivan Nestlerode <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: patch for the problem
retitle 255950 libbonobo2-0: bashism in postinst
tags 255950 patch
thanks
The error is on the postinst file. This line is buggy:
kill -HUP `pidof bonobo-activation-server` &>/dev/null || true
The ampersand redirection is a bashism that doesn't work with dash as
/bin/sh. Changing it to a 2 works in this case to suppress the kill
error message on stderr that you get when bonobo isn't running.
Message-ID: <email address hidden>
Date: Wed, 23 Jun 2004 19:43:26 -0400
From: Ivan Nestlerode <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: patch for the problem
--gBBFr7Ir9EOA20Yy Disposition: inline
Content-Type: text/plain; charset=us-ascii
Content-
retitle 255950 libbonobo2-0: bashism in postinst
tags 255950 patch
thanks
The error is on the postinst file. This line is buggy: activation- server` &>/dev/null || true
kill -HUP `pidof bonobo-
The ampersand redirection is a bashism that doesn't work with dash as
/bin/sh. Changing it to a 2 works in this case to suppress the kill
error message on stderr that you get when bonobo isn't running.
The patch is attached.
-Ivan
--gBBFr7Ir9EOA20Yy Disposition: attachment; filename=patch
Content-Type: text/plain; charset=us-ascii
Content-
--- /var/lib/ dpkg/info/ libbonobo2- 0.postinst 2004-06-22 17:53:53.000000000 -0400 0.postinst- fixed 2004-06-23 19:30:59.000000000 -0400
+++ libbonobo2-
@@ -4,7 +4,7 @@
case "$1" in activation- server` &>/dev/null || true activation- server` 2>/dev/null || true
configure)
- kill -HUP `pidof bonobo-
+ kill -HUP `pidof bonobo-
;;
abort- upgrade| abort-remove| abort-deconfigu re)
--gBBFr7Ir9EOA2 0Yy--