Commit bf56c6dc authored by Brian White's avatar Brian White

git-debimport mime-support_3.48-1.tar.gz

parent cdab2834
mime-support (3.48-1) unstable; urgency=medium
* use only "copiousoutput" rules for "cat" action (closes: 533723)
-- Brian White <bcwhite@pobox.com> Tue, 08 Dec 2009 19:15:04 +0100
mime-support (3.47-1) unstable; urgency=medium
* added new mime.types (closes: 550053, 545837, 540239)
......@@ -5,7 +12,8 @@ mime-support (3.47-1) unstable; urgency=medium
* do perl tests before external ones (closes: 533722)
* remove playaudio/playdsp (closes: 545478)
-- Brian White <bcwhite@pobox.com> Thu, 18 Jun 2009 22:54:51 +0200
-- Brian White <bcwhite@pobox.com> Tue, 05 Dec 2009 20:13:45 +0100
mime-support (3.46-1) unstable; urgency=medium
......
......@@ -2,3 +2,4 @@ dh_md5sums
dh_md5sums
dh_md5sums
dh_md5sums
dh_md5sums
......@@ -426,11 +426,6 @@ foreach (@files) {
}
@matches = grep(/\Q$action\E=/,@matches) unless ($action eq "view" || $action eq "cat");
if ($action eq 'cat' && $ENV{"DISPLAY"}) {
print STDERR " - clearing DISPLAY environment variable for \"cat\" action\n" if $debug;
undef $ENV{"DISPLAY"};
}
my $done=0;
my $fail=0;
foreach $match (@matches) {
......@@ -444,8 +439,8 @@ foreach (@files) {
next if (!$comm || $comm =~ m!(^|/)false$!i);
print STDERR " - program to execute: $comm\n" if $debug;
if ($action eq 'cat' && $match =~ m/;\s*needsterminal\s*($|;)/) {
print STDERR " - \"needsterminal\" is incompatible with \"cat\" action\n" if $debug;
if ($action eq 'cat' && $match !~ m/;\s*copiousoutput\s*($|;)/) {
print STDERR " - \"copiousoutput\" is required for \"cat\" action\n" if $debug;
$fail++;
next;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment