Squash an uninitialized value when creating a deb.

This commit is contained in:
Joey Hess
2011-01-06 13:49:40 -04:00
parent 9b37ec8545
commit 1ca19300b4
2 changed files with 2 additions and 1 deletions

View File

@@ -747,7 +747,7 @@ sub postinst {
return $postinst unless ref $owninfo; return $postinst unless ref $owninfo;
# If there is no postinst, let's make one up.. # If there is no postinst, let's make one up..
$postinst="#!/bin/sh\n" unless length $postinst; $postinst="#!/bin/sh\n" unless defined $postinst && length $postinst;
return $postinst unless %$owninfo; return $postinst unless %$owninfo;

1
debian/changelog vendored
View File

@@ -2,6 +2,7 @@ alien (8.84) UNRELEASED; urgency=low
* Silence error message when deleting build tree after making an rpm, * Silence error message when deleting build tree after making an rpm,
if rpmbuild has already deleted it. if rpmbuild has already deleted it.
* Squash an uninitialized value when creating a deb.
-- Joey Hess <joeyh@debian.org> Thu, 06 Jan 2011 13:47:10 -0400 -- Joey Hess <joeyh@debian.org> Thu, 06 Jan 2011 13:47:10 -0400