pentoo-updater: remove empty binpkgs early

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-05-19 16:08:54 -04:00
parent f7d96de889
commit 5cae3f744b
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -345,6 +345,8 @@ safe_exit() {
}
pre_sync_fixes() {
#sometimes binpkgs are size 0, and that's not okay
find "$(portageq envvar PKGDIR)" -size 0 -delete
# this bug breaks --sync and EVERYTHING ELSE so it gets fixed first
#adjust the portage version to check for once the bug is fixed
bug903917="$(portageq match / '<sys-apps/portage-3.0.46')"