diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-11-19 13:00:50 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-11-19 13:00:50 +0300 |
commit | 0f55f1989c5eef00d91f7ae8e12f781e52f2e628 (patch) | |
tree | bfe0eb53e99fd38bc316f0642656237fd9f86ba7 /dh_installifupdown | |
parent | 04c923d15dbe45268d71beb9f1ac012bb6dcc9ec (diff) | |
parent | 1a52f701f3c9fb3d1dc18461e06176dc046b0f42 (diff) | |
download | debhelper-0f55f1989c5eef00d91f7ae8e12f781e52f2e628.tar.gz |
Merge https://anonscm.debian.org/git/debhelper/debhelper
Diffstat (limited to 'dh_installifupdown')
-rwxr-xr-x | dh_installifupdown | 12 |
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: |