[Pkg-samba-maint] Bug#452940: adjust panic-action to know the difference between Debian and Ubuntu

Steve Langasek steve.langasek at canonical.com
Mon Nov 26 08:56:20 UTC 2007


Package: samba
Version: 3.0.27a-1
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch hardy

The Debian Samba package includes a panic-action script which sends emails
telling users to report bugs to the Debian BTS.  The Ubuntu Samba package
modifies this script, which is good because Ubuntu bugs should be reported
to Ubuntu, and bad because we want to share the packaging between Debian and
Ubuntu to make the best use of everyone's time.

The attached patch uses lsb_release (the same way as is used in
samba.postinst) to detect whether the package is installed on Ubuntu, and
select at runtime where to tell users to direct their bug reports.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panic-action-ubuntu.diff
Type: text/x-diff
Size: 1113 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20071126/045adfc7/attachment.diff 


More information about the Pkg-samba-maint mailing list