[postcfg] adopt to symlinks in copy_tree()
This commit is contained in:
parent
00a2a96929
commit
b1d999234e
@ -56,7 +56,7 @@ class ConfigController:
|
|||||||
|
|
||||||
def copy_folder(self, source, target):
|
def copy_folder(self, source, target):
|
||||||
if exists("/" + source):
|
if exists("/" + source):
|
||||||
copy_tree("/" + source, join(self.root, target))
|
copy_tree("/" + source, join(self.root, target), preserve_symlinks)
|
||||||
|
|
||||||
def remove_pkg(self, pkg, path):
|
def remove_pkg(self, pkg, path):
|
||||||
if exists(join(self.root, path)):
|
if exists(join(self.root, path)):
|
||||||
|
Loading…
Reference in New Issue
Block a user