summaryrefslogtreecommitdiffstats
path: root/dh_installdeb
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:26 +0000
commit36b03e2bee4497aef85033f4f900f5d89d5dc55e (patch)
treeec9a0e0972bd08cc628efaa53161b44f9361dd37 /dh_installdeb
parentAdding debian version 13.16. (diff)
downloaddebhelper-36b03e2bee4497aef85033f4f900f5d89d5dc55e.tar.xz
debhelper-36b03e2bee4497aef85033f4f900f5d89d5dc55e.zip
Merging upstream version 13.17.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dh_installdeb')
-rwxr-xr-xdh_installdeb40
1 files changed, 33 insertions, 7 deletions
diff --git a/dh_installdeb b/dh_installdeb
index f9e2452..09d0fbb 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -247,7 +247,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# For udebs, only do the postinst, and no #DEBHELPER#.
# Udebs also support menutest and isinstallable scripts.
foreach my $script (qw{postinst menutest isinstallable}) {
- my $f=pkgfile($package,$script);
+ my $f = pkgfile(
+ {
+ 'named' => 0,
+ 'support-architecture-restriction' => 0,
+ },
+ $package,
+ $script,
+ );
if ($f) {
install_prog($f, "$tmp/DEBIAN/$script");
}
@@ -257,7 +264,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
next;
}
- my $maintscriptfile=pkgfile($package, "maintscript");
+ my $maintscriptfile = pkgfile(
+ {
+ 'named' => 0,
+ 'support-architecture-restriction' => 0,
+ },
+ $package,
+ "maintscript",
+ );
my @special_conffiles_entries;
if ($maintscriptfile) {
if (compat(9)) {
@@ -320,13 +334,18 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
# Install non-executable files
- my @non_exec_files;
- # Removed in compat 12.
- push(@non_exec_files, 'conffiles');
+ my @non_exec_files = qw(conffiles);
# In compat 10, we let dh_makeshlibs handle "shlibs".
push(@non_exec_files, 'shlibs') if compat(9);
foreach my $file (@non_exec_files) {
- my $f=pkgfile($package,$file);
+ my $f = pkgfile(
+ {
+ 'named' => 0,
+ 'support-architecture-restriction' => 0,
+ },
+ $package,
+ $file,
+ );
if ($f) {
install_file($f, "$tmp/DEBIAN/$file");
}
@@ -360,7 +379,14 @@ sub install_triggers {
my ($package, $tmp) = @_;
my $generated = generated_file($package, 'triggers', 0);
my @sources = grep { -f $_ } (
- pkgfile($package, 'triggers'),
+ pkgfile(
+ {
+ 'named' => 0,
+ 'support-architecture-restriction' => 0,
+ },
+ $package,
+ 'triggers'
+ ),
$generated,
);
my $target = "$tmp/DEBIAN/triggers";