Bugfix change permissions during update

This commit is contained in:
OzzieIsaacs 2017-01-30 19:10:22 +01:00
parent 1d3be7f4c6
commit af0417758c

View File

@ -290,9 +290,9 @@ def reduce_files(remove_items, exclude_items):
return rf
def moveallfiles(root_src_dir, root_dst_dir):
change_permissions = False
if sys.platform == "win32" or sys.platform == "darwin":
change_permissions = True
if sys.platform == "win32" or sys.platform == "darwin":
change_permissions=False
else:
app.logger.debug('OS-System : '+sys.platform )
new_permissions=os.stat(root_dst_dir)