Skip to content

Commit 4d31f74

Browse files
laumannthesamesam
authored andcommitted
eclean: clean out files of size zero
Fixes: aae28fd ("eclean-pkg: clean out debuginfo tarballs") Closes: https://bugs.gentoo.org/973294 Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Part-of: https://codeberg.org/gentoo/gentoolkit/pulls/7 Merges: https://codeberg.org/gentoo/gentoolkit/pulls/7 Signed-off-by: Sam James <sam@gentoo.org>
1 parent f3fdd0a commit 4d31f74

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

pym/gentoolkit/eclean/clean.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,6 @@ def _clean_binary_package(self, files: tuple[str, str | None], key: str):
165165
rm_files.append(files[1])
166166
rm_size += sz
167167

168-
if not rm_size:
169-
return 0
170-
171168
# optionally prompt for removal
172169
clean_size = 0
173170
if self.controller(rm_size, key, files, "binary package"):

0 commit comments

Comments
 (0)