Skip to content
Snippets Groups Projects
Commit b9b52738 authored by Jakub Ružička's avatar Jakub Ružička
Browse files

arch: only install --needed distro packages

pacman -S defaults to reinstalling existing packages.
parent 029154d6
No related branches found
No related tags found
1 merge request!135arch: add manjaro to supported distros
Pipeline #106452 passed
......@@ -97,7 +97,7 @@ def install_distro_packages(
packages,
**kwargs):
interactive = kwargs.get('interactive', False)
cmd = ['pacman', '-S']
cmd = ['pacman', '-S', '--needed']
if not interactive:
cmd += ['--noconfirm']
cmd += packages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment