Do not call update-fullfiletimelist if there's no modules updated
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
e4022c656e
commit
f06165241b
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ def run_command(cmd):
|
|||
|
||||
|
||||
def update_fullfilelist(modules):
|
||||
if not modules:
|
||||
logger.info('No modulese to update')
|
||||
return
|
||||
cmd = ['/usr/local/bin/update-fullfiletimelist', '-l',
|
||||
'/tmp/update-fullfiletimelist.lock', '-t', '/pub']
|
||||
cmd.extend(modules)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue