mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-03 06:56:44 +01:00
Fixed for installed help text
This commit is contained in:
parent
2129f15540
commit
4f9d22e165
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ class Slackbuilds(Configs):
|
|||
inst_pkg: str = self.utils.is_package_installed(package, self.file_pattern)
|
||||
inst_pkg_ver: str = self.utils.split_installed_pkg(inst_pkg)[1]
|
||||
|
||||
if self.utils.is_package_upgradeable(package, self.file_pattern):
|
||||
if inst_pkg and self.utils.is_package_upgradeable(package, self.file_pattern):
|
||||
help_text: str = f'Installed: {package}-{inst_pkg_ver} -> Available: {repo_ver}'
|
||||
repo_ver: str = f'{inst_pkg_ver} -> {repo_ver}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue