mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-17 06:11:35 +01:00
Return exit code
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
bab2af3a26
commit
ec78e702ea
2 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,7 @@ class BinaryInstall(object):
|
|||
delete_package(self.tmp_path, self.dep_install + self.install)
|
||||
else:
|
||||
self.msg.not_found(self.is_upgrade)
|
||||
raise SystemExit(1)
|
||||
|
||||
def if_all_installed(self):
|
||||
"""Check if all packages is already installed
|
||||
|
|
|
@ -150,6 +150,7 @@ class SBoInstall(object):
|
|||
self.continue_to_install()
|
||||
else:
|
||||
self.msg.not_found(self.is_upgrade)
|
||||
raise SystemExit(1)
|
||||
|
||||
def case_insensitive(self):
|
||||
"""Matching packages distinguish between uppercase and
|
||||
|
|
Loading…
Reference in a new issue