Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix upgraded package not being cleared
This commit fixes out-dated files in root directory of unpacked packages not being cleared due to skipped files in sub-directories causing ENOTEMPTY exception, when removing top-level directories. Example: /dir1/dir2/file <- if this is ignored and /dir1/ only contains dirs /plugin.py <- this wouldn't be deleted as /dir1 was not added to ignored_dirs and removing fails as not being empty Thus ignore non-empty directories.
- Loading branch information