aboutsummaryrefslogtreecommitdiff
blob: 2928aadf7882cdc36b65728a325762cbd9e002c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python



## some heuristics here to cut few packets
def is_package_useful(pkg,stages,files):
  # test 1: package is not useful if all files are *.desktop or *.xml or *.m4
  for f in files:
	if not (f.endswith(".desktop") or f.endswith(".xml") or f.endswith(".m4")):
	  break
  else:
	return False
	
  return True