diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-01 17:19:14 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-01 18:55:16 +0200 |
| commit | fe21f3ac307b9e6598999ee416362803f72bb869 (patch) | |
| tree | b67aa60cfccab141031f0fb634a5cbec4f1bf374 /.config/bash | |
| parent | caf53274f24377717ee0f9ac030f9159d9d336e6 (diff) | |
| download | dotfiles-fe21f3ac307b9e6598999ee416362803f72bb869.tar.gz dotfiles-fe21f3ac307b9e6598999ee416362803f72bb869.zip | |
refactor(dotfiles): group pacman local db queries
In dotfiles sync, `sync_packages()` queries the database only twice
(once for packages to install and once for packages to upgrade) instead
of twice per package (which was too slow). The function determines the
packages to install/update by looking at the disjunction of the
specified packages and the list of installed packages obtained with
`pacman --query --quiet`.
Diffstat (limited to '.config/bash')
0 files changed, 0 insertions, 0 deletions
