mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
Display rpms build on successful completion.
This commit is contained in:
parent
3583cffa82
commit
171eae95ef
1 changed files with 5 additions and 1 deletions
|
@ -223,9 +223,13 @@ class Builder(object):
|
|||
if len(files_written) < 2:
|
||||
error_out("Error parsing rpmbuild output")
|
||||
self.srpm_location = files_written[0]
|
||||
debug("Binary rpms: %s" % files_written[1:])
|
||||
|
||||
print
|
||||
print("Successfully built: %s" % ' '.join(files_written))
|
||||
|
||||
|
||||
if self.auto_install:
|
||||
print
|
||||
print("Auto-installing packages:")
|
||||
if len(files_written[1:]) > 0:
|
||||
cmd = "sudo rpm -Uvh --force %s" % ' '.join(files_written[1:])
|
||||
|
|
Loading…
Add table
Reference in a new issue