summaryrefslogtreecommitdiff
path: root/dh_installifupdown
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-11-19 13:00:50 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-11-19 13:00:50 +0300
commit0f55f1989c5eef00d91f7ae8e12f781e52f2e628 (patch)
treebfe0eb53e99fd38bc316f0642656237fd9f86ba7 /dh_installifupdown
parent04c923d15dbe45268d71beb9f1ac012bb6dcc9ec (diff)
parent1a52f701f3c9fb3d1dc18461e06176dc046b0f42 (diff)
downloaddebhelper-0f55f1989c5eef00d91f7ae8e12f781e52f2e628.tar.gz
Merge https://anonscm.debian.org/git/debhelper/debhelper
Diffstat (limited to 'dh_installifupdown')
-rwxr-xr-xdh_installifupdown12
1 files changed, 3 insertions, 9 deletions
diff --git a/dh_installifupdown b/dh_installifupdown
index a9fc2543..ce1dc442 100755
--- a/dh_installifupdown
+++ b/dh_installifupdown
@@ -11,6 +11,8 @@ use warnings;
use Debian::Debhelper::Dh_Lib;
exit 0;
+our $VERSION = DH_BUILTIN_VERSION;
+
=head1 SYNOPSIS
B<dh_installifupdown> [S<I<debhelper options>>] [B<--name=>I<name>]
@@ -64,9 +66,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
foreach my $script (qw(pre-up up down post-down)) {
my $file=pkgfile($package, "if-$script");
if ($file ne '') {
- if (! -d "$tmp/etc/network/if-$script.d") {
- install_dir("$tmp/etc/network/if-$script.d");
- }
+ install_dir("$tmp/etc/network/if-$script.d");
install_prog($file,"$tmp/etc/network/if-$script.d/".pkgfilename($package));
}
}
@@ -83,9 +83,3 @@ This program is a part of debhelper.
Joey Hess <joeyh@debian.org>
=cut
-
-# Local Variables:
-# indent-tabs-mode: t
-# tab-width: 4
-# cperl-indent-level: 4
-# End: