summaryrefslogtreecommitdiff
path: root/dh_installdeb
diff options
context:
space:
mode:
authorjoey <joey>2005-10-02 16:07:33 +0000
committerjoey <joey>2005-10-02 16:07:33 +0000
commitd2cd503a555850a98ea54c050fd583cf6c49d004 (patch)
tree73d26d78e79fc5856c46f2838eeb2866355ccea0 /dh_installdeb
parent3fe1bc8c401dc7c589bd65252887880d58594a43 (diff)
r1793: releasing version 4.9.12
Diffstat (limited to 'dh_installdeb')
-rwxr-xr-xdh_installdeb14
1 files changed, 8 insertions, 6 deletions
diff --git a/dh_installdeb b/dh_installdeb
index 519afb0c..a3cd68ff 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -66,17 +66,19 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
debhelper_script_subst($package, $script);
}
- # Install non-executable files
- foreach my $file (qw{shlibs conffiles}) {
- my $f=pkgfile($package,$file);
- if ($f) {
- doit("install","-o",0,"-g",0,"-m",644,"-p",$f,"$tmp/DEBIAN/$file");
+ if (! is_udeb($package)) {
+ # Install non-executable files
+ foreach my $file (qw{shlibs conffiles}) {
+ my $f=pkgfile($package,$file);
+ if ($f) {
+ doit("install","-o",0,"-g",0,"-m",644,"-p",$f,"$tmp/DEBIAN/$file");
+ }
}
}
# Automatic conffiles registration: If it is in /etc, it is a
# conffile.
- if (! compat(2) && -d "$tmp/etc") {
+ if (! compat(2) && -d "$tmp/etc" && ! is_udeb($package)) {
complex_doit("find $tmp/etc -type f -printf '/etc/%P\n' >> $tmp/DEBIAN/conffiles");
# Anything found?
if (-z "$tmp/DEBIAN/conffiles") {