mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Fixed counting reinstalling packages
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
01dc98b778
commit
b74569bd02
1 changed files with 2 additions and 3 deletions
|
@ -46,8 +46,6 @@ from slpkg.binary.greps import repo_data
|
|||
from slpkg.binary.repo_init import RepoInit
|
||||
from slpkg.binary.dependency import Dependencies
|
||||
|
||||
from slpkg.slack.slack_version import slack_ver
|
||||
|
||||
|
||||
class BinaryInstall:
|
||||
"""Install binaries packages with all dependencies from
|
||||
|
@ -288,7 +286,8 @@ class BinaryInstall:
|
|||
for pkg, comp in zip(install, comp_sum):
|
||||
pkg_repo = split_package(pkg[:-4])
|
||||
if find_package(pkg[:-4], self.meta.pkg_path):
|
||||
pkg_sum += 1
|
||||
if "--reinstall" in self.flag:
|
||||
pkg_sum += 1
|
||||
COLOR = self.meta.color["GREEN"]
|
||||
elif pkg_repo[0] == GetFromInstalled(pkg_repo[0]).name():
|
||||
COLOR = self.meta.color["YELLOW"]
|
||||
|
|
Loading…
Reference in a new issue