mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
Squash an uninitialized value when creating a deb.
This commit is contained in:
@@ -747,7 +747,7 @@ sub postinst {
|
||||
return $postinst unless ref $owninfo;
|
||||
|
||||
# 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user