[debhelper-devel] [debhelper] 01/02: dh_installmodules: Remove unncessary install_dir call

Niels Thykier nthykier at moszumanska.debian.org
Sat Feb 27 09:45:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit bf67ce7c0883e06d2ba8921331bda3d4814eae92
Author: Niels Thykier <niels at thykier.net>
Date:   Tue Feb 23 22:07:01 2016 +0000

    dh_installmodules: Remove unncessary install_dir call
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_installmodules | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dh_installmodules b/dh_installmodules
index 7197d0a..031bc73 100755
--- a/dh_installmodules
+++ b/dh_installmodules
@@ -90,10 +90,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	my $tmp=tmpdir($package);
 	my $modprobe_file=pkgfile($package,"modprobe");
 
-	if (! -e $tmp) {
-		install_dir($tmp);
-	}
-
 	if ($modprobe_file) {
 		if (! -e "$tmp/etc/modprobe.d") {
 			install_dir("$tmp/etc/modprobe.d");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list