mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Fixed an implementation of replace action in folder applier
This commit is contained in:
parent
0e6c3bb6aa
commit
4b4adbf3e1
@ -65,6 +65,8 @@ class Folder:
|
||||
|
||||
def _delete_action(self):
|
||||
if self.folder_path.exists():
|
||||
if self.action == FileAction.REPLACE:
|
||||
self.delete_folder = True
|
||||
remove_dir_tree(self.folder_path,
|
||||
self.delete_files,
|
||||
self.delete_folder,
|
||||
|
Loading…
x
Reference in New Issue
Block a user