[postcfg] adopt to symlinks in copy_tree()

This commit is contained in:
Philip Müller 2021-08-09 07:57:37 +00:00
parent 8e28547f2c
commit 7a4cd9cdcc

View File

@ -56,7 +56,7 @@ class ConfigController:
def copy_folder(self, source, target):
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):
if exists(join(self.root, path)):