summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-27 10:04:25 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-27 10:05:42 +0300
commit28ae88937280a00453e2e0881d53a2f06efe0560 (patch)
tree17394a223c2102d10ab057a8779d2c8619c3ec68
parent3eabc9a5ea47721fbf4bf6e1ee7498204db74456 (diff)
downloaddebhelper-28ae88937280a00453e2e0881d53a2f06efe0560.tar.gz
dh_missing: ignore charset.alias
Just like dpkg does.
-rwxr-xr-xdh_missing6
1 files changed, 5 insertions, 1 deletions
diff --git a/dh_missing b/dh_missing
index fd70ed7f..5bce2df5 100755
--- a/dh_missing
+++ b/dh_missing
@@ -180,7 +180,11 @@ File::Find::find(sub {
if (! /$installed/ && ! excludefile($_)) {
my $file=$_;
$file=~s/^\Q$srcdir\E\///;
- push @missing, $file;
+ if ($file =~ m!usr/lib.*/charset.alias$!) {
+ warning("ignoring $file");
+ } else {
+ push @missing, $file;
+ }
}
}, $srcdir);
if (@missing) {