mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
chroot.py: try_install_packages(): pacman -S '--overwrite=/*'
This commit is contained in:
parent
a0a5a5a677
commit
fd46977a2f
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ class Chroot:
|
|||
results = {}
|
||||
if refresh:
|
||||
results['refresh'] = self.run_cmd('pacman -Syy --noconfirm')
|
||||
cmd = 'pacman -S --noconfirm --needed'
|
||||
cmd = "pacman -S --noconfirm --needed --overwrite='/*'"
|
||||
result = self.run_cmd(f'{cmd} -y {" ".join(packages)}')
|
||||
results |= {package: result for package in packages}
|
||||
if result.returncode != 0 and allow_fail:
|
||||
|
|
Loading…
Add table
Reference in a new issue