Package: debhelper
Version: 7.3.15ubuntu3.1~ppa1
Severity: important
Tags: patch
When building a package, if 'debian/package.upstart' and
'debian/package.default' both exist, 'debian/package.default' is ignored and
not installed.
I found this bug in the latest debhelper available for Ubuntu Karmic (version
7.3.15ubuntu3), however it affects the latest version available in Debian Sid
too (7.4.8).
The attached patch fixes this problem.
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-15-generic (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debhelper depends on:
ii binutils 2.20-0ubuntu2 The GNU assembler, linker and bina
ii dpkg-dev 1.15.4ubuntu2 Debian package development tools
ii file 5.03-1ubuntu1 Determines file type using "magic"
ii html2text 1.3.2a-14 advanced HTML to text converter
ii man-db 2.5.6-2 on-line manual pager
ii perl 5.10.0-24ubuntu4 Larry Wall's Practical Extraction
ii perl-base 5.10.0-24ubuntu4 minimal Perl system
ii po-debconf 1.0.16 tool for managing templates file t
debhelper recommends no packages.
Versions of packages debhelper suggests:
pn dh-make <none> (no description available)
-- no debconf information
--- dh_installinit.orig 2009-09-30 20:42:40.000000000 +0000
+++ dh_installinit 2009-11-30 12:27:36.657408596 +0000
@@ -211,9 +211,9 @@
else {
$init=pkgfile($package,$script) || pkgfile($package,"init") ||
pkgfile($package,"init.d");
- $default=pkgfile($package,'default');
}
+ $default=pkgfile($package,'default');
if ($default ne '' && ! $dh{ONLYSCRIPTS}) {
if (! -d "$tmp/etc/default") {
doit("install","-d","$tmp/etc/default");