|
|
|
@ -41,7 +41,7 @@ data_files += var_data_files
|
|
|
|
|
|
|
|
|
|
def scanDirs(profilesDirs):
|
|
|
|
|
"""Recursive scanning directories"""
|
|
|
|
|
dirs = []
|
|
|
|
|
dirs_total = []
|
|
|
|
|
class dirProf:
|
|
|
|
|
def __init__(self):
|
|
|
|
|
self.baseDir = False
|
|
|
|
@ -64,8 +64,8 @@ def scanDirs(profilesDirs):
|
|
|
|
|
if '/.svn' in absNameDir:
|
|
|
|
|
continue
|
|
|
|
|
dirP.dirs.append(absNameDir)
|
|
|
|
|
dirs.append(dirP)
|
|
|
|
|
return dirs
|
|
|
|
|
dirs_total.append(dirP)
|
|
|
|
|
return dirs_total
|
|
|
|
|
|
|
|
|
|
def create_data_files (data_dirs, prefix=""):
|
|
|
|
|
test1_files = []
|
|
|
|
@ -147,7 +147,9 @@ class cl_install_data(install_data):
|
|
|
|
|
("/etc/conf.d/sortmilter.conf", "sortmilter", None)]
|
|
|
|
|
data_find = \
|
|
|
|
|
dict(
|
|
|
|
|
[(os.path.basename(x[0]), [list(reversed([y for y in x[0].split("/") if y])), x[1],x[2]]) for x in data_file])
|
|
|
|
|
[(os.path.basename(x[0]),
|
|
|
|
|
[list(reversed([y for y in x[0].split("/") if y])), x[1],x[2]])
|
|
|
|
|
for x in data_file])
|
|
|
|
|
|
|
|
|
|
for path in self.get_outputs():
|
|
|
|
|
nameFile = os.path.split(path)[1]
|
|
|
|
|