Remove useless pacman option when install package to host

This commit is contained in:
jld3103 2021-08-04 21:03:02 +02:00
parent f9ba5a3cfd
commit 150964b0e9

View file

@ -260,8 +260,7 @@ def setup_dependencies_and_sources(package: Package):
""" """
if package.mode == 'cross': if package.mode == 'cross':
for p in package.depends: for p in package.depends:
subprocess.run(pacman_cmd + ['-Sw', p], subprocess.run(pacman_cmd + ['-S', p])
stderr=subprocess.DEVNULL)
result = subprocess.run(makepkg_cmd + result = subprocess.run(makepkg_cmd +
['--nobuild', ['--nobuild',