* pisi klasörler için conflict vermesin.
This commit is contained in:
@@ -161,7 +161,8 @@ class Install(AtomicOperation):
|
|||||||
for file in self.files.list:
|
for file in self.files.list:
|
||||||
if ctx.filesdb.has_file(file.path):
|
if ctx.filesdb.has_file(file.path):
|
||||||
pkg, existing_file = ctx.filesdb.get_file(file.path)
|
pkg, existing_file = ctx.filesdb.get_file(file.path)
|
||||||
if pkg != self.pkginfo.name:
|
dst = pisi.util.join_path(ctx.config.dest_dir(), file.path)
|
||||||
|
if pkg != self.pkginfo.name and not os.path.isdir(dst):
|
||||||
file_conflicts.append( (pkg, existing_file) )
|
file_conflicts.append( (pkg, existing_file) )
|
||||||
if file_conflicts:
|
if file_conflicts:
|
||||||
file_conflicts_str = ""
|
file_conflicts_str = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user