summaryrefslogtreecommitdiffstats
path: root/dh_installifupdown
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installifupdown')
-rwxr-xr-xdh_installifupdown9
1 files changed, 8 insertions, 1 deletions
diff --git a/dh_installifupdown b/dh_installifupdown
index 3d4cd93..0756b3b 100755
--- a/dh_installifupdown
+++ b/dh_installifupdown
@@ -61,7 +61,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
foreach my $script (qw(pre-up up down post-down)) {
- my $file=pkgfile($package, "if-$script");
+ my $file=pkgfile(
+ {
+ 'named' => 0,
+ 'support-architecture-restriction' => 0,
+ },
+ $package,
+ "if-$script"
+ );
if ($file ne '') {
install_dir("$tmp/etc/network/if-$script.d");
install_prog($file,"$tmp/etc/network/if-$script.d/".pkgfilename($package));