[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#311492: zope-stripogram: Postinst script fails if zope2.7 is installed



On Wed, Jun 01, 2005 at 12:28:28PM +0200, Igor Stroh wrote:
> Package: zope-stripogram
> Version: 1.4-1
> Severity: grave
> Justification: renders package unusable
> 
> The postinst script assumes that there's a /etc/init.d/zope
> which is not there, since zope2.7 is installed:

I've just uploaded into unstable a new package (zope-stripogram 1.4-2) 
which fixes this bug. I'm cc'ing debian-release to ask them to unblock 
zope-stripogram and zope-portaltransport which depends on it.

The diff between the old version and the new just uploaded is attached.

Thanks,

-- 
Fabio Tranchitella <kobold@debian.org>                        .''`.
Proud Debian GNU/Linux developer, admin and user.            : :'  :
                                                             `. `'`
   http://people.debian.org/~kobold/                           `-
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
diff -urN zope-stripogram-1.4.unstable/debian/changelog zope-stripogram-1.4/debian/changelog
--- zope-stripogram-1.4.unstable/debian/changelog	2005-06-03 16:32:30.000000000 +0200
+++ zope-stripogram-1.4/debian/changelog	2005-06-03 16:34:45.000000000 +0200
@@ -1,3 +1,9 @@
+zope-stripogram (1.4-2) unstable; urgency=high
+
+  * debian/postinst: check if zope init script exists. (Closes: #311492)
+
+ -- Fabio Tranchitella <kobold@kobold.it>  Fri,  3 Jun 2005 16:33:45 +0200
+
 zope-stripogram (1.4-1) unstable; urgency=low
 
   * Initial Release.
diff -urN zope-stripogram-1.4.unstable/debian/postinst zope-stripogram-1.4/debian/postinst
--- zope-stripogram-1.4.unstable/debian/postinst	2005-06-03 16:32:30.000000000 +0200
+++ zope-stripogram-1.4/debian/postinst	2005-06-03 16:35:36.000000000 +0200
@@ -30,7 +30,7 @@
 	db_get "shared/zope/restart" || true
 	case "$RET" in
 	    configuring)
-		invoke-rc.d zope restart
+		[ -x /etc/init.d/zope ] && invoke-rc.d zope restart
 		;;
 
 	    end)

Attachment: signature.asc
Description: Digital signature


Reply to: