mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-28 19:58:18 +01:00
Fix matching installed name with repo name
This commit is contained in:
parent
ed7e432275
commit
840e0ec1d2
1 changed files with 4 additions and 1 deletions
|
@ -309,7 +309,10 @@ class SBoInstall(object):
|
|||
except ValueError:
|
||||
Msg().build_FAILED(sbo_url, prgnam)
|
||||
sys.exit(0)
|
||||
if find_package(pkg + "-", self.meta.pkg_path):
|
||||
find = find_package(pkg + "-", self.meta.pkg_path)
|
||||
if find:
|
||||
inst_pkg = split_package(find[0])[0]
|
||||
if inst_pkg == pkg:
|
||||
print("{0}[ Upgrading ] --> {1}{2}".format(
|
||||
self.meta.color["YELLOW"],
|
||||
self.meta.color["ENDC"], pkg))
|
||||
|
|
Loading…
Add table
Reference in a new issue