You've already forked linux-packaging-mono
Imported Upstream version 5.8.0.22
Former-commit-id: df344e34b07851d296efb3e6604c8db42b6f7aa3
This commit is contained in:
parent
5f4a27cc8a
commit
7d05485754
@@ -33,19 +33,25 @@ namespace Mono.Tuner {
|
||||
if (resource == null)
|
||||
continue;
|
||||
|
||||
switch (resource.Name) {
|
||||
case "collation.core.bin":
|
||||
case "collation.tailoring.bin":
|
||||
continue;
|
||||
default:
|
||||
if (!resource.Name.Contains ("cjk"))
|
||||
continue;
|
||||
if (IncludeCJK ())
|
||||
continue;
|
||||
if (RemoveResource (resource.Name))
|
||||
resources.RemoveAt(i--);
|
||||
}
|
||||
}
|
||||
|
||||
resources.RemoveAt (i--);
|
||||
break;
|
||||
}
|
||||
bool RemoveResource (string name)
|
||||
{
|
||||
switch (name) {
|
||||
case "mscorlib.xml":
|
||||
return true;
|
||||
case "collation.core.bin":
|
||||
case "collation.tailoring.bin":
|
||||
return false;
|
||||
default:
|
||||
if (!name.Contains("cjk"))
|
||||
return false;
|
||||
if (IncludeCJK())
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user