cue: run apt-get 'update' before 'install'

This commit is contained in:
Ralph Lange
2020-09-07 11:45:30 +02:00
parent cfd8a88488
commit 032ef83502

1
cue.py
View File

@@ -909,6 +909,7 @@ PERL = C:/Strawberry/perl/bin/perl -CSD'''
if ci['os'] == 'linux' and ci['apt']:
fold_start('install.apt', 'Installing APT packages')
sp.check_call(['sudo', 'apt-get', '-y', 'update'])
sp.check_call(['sudo', 'apt-get', '-y', 'install'] + ci['apt'])
fold_end('install.apt', 'Installing APT packages')