* Do not register conffiles in /etc when generating a deb; debhelper v3

takes care of that.
This commit is contained in:
joey
2004-01-16 03:21:43 +00:00
parent c08f69b94f
commit 2c1589bd7e
3 changed files with 3 additions and 3 deletions

View File

@@ -368,8 +368,8 @@ sub prep {
print OUT $this->binary_info."\n"; print OUT $this->binary_info."\n";
close OUT; close OUT;
# Conffiles, if any. # Conffiles, if any. Note that debhelper takes care of files in /etc.
my @conffiles=@{$this->conffiles}; my @conffiles=grep { $_ !~ /^\/etc/ } @{$this->conffiles};
if (@conffiles) { if (@conffiles) {
open (OUT, ">$dir/debian/conffiles") || die "$dir/debian/conffiles: $!"; open (OUT, ">$dir/debian/conffiles") || die "$dir/debian/conffiles: $!";
print OUT join("\n", @conffiles)."\n"; print OUT join("\n", @conffiles)."\n";

View File

View File

@@ -31,4 +31,4 @@ find $RPM_BUILD_ROOT -not -type d -printf "/%%P\n" | \
%files -f manifest %files -f manifest
%defattr(-,root,root) %defattr(-,root,root)
%doc debian/changelog COPYING README alien.lsm %doc debian/changelog GPL README alien.lsm