archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

pacman -Sy is used 2 times

Open CelestifyX opened this issue 8 months ago • 2 comments

describe the request

In archinstall/__init__.py and archinstall/lib/packages/packages.py, database updates are performed twice, which is redundant (#3501)

CelestifyX avatar May 25 '25 19:05 CelestifyX

One is to test connectivity, the other could/should happen after mirror selection and repository is selected (multilib etc). IIRC.

Torxed avatar May 25 '25 19:05 Torxed

yes, but in this case it is redundant, when you can do one thing, and use a function from different parts of the code, while not allowing duplication of code

CelestifyX avatar May 25 '25 19:05 CelestifyX