Updated for reinstall package

This commit is contained in:
Dimitris Zlatanidis 2023-04-04 21:12:57 +03:00
parent 955f272b67
commit d6e01893df

View file

@ -159,7 +159,7 @@ class Packages(Configs):
message: str = f'{self.cyan}Installing{self.endc}'
slack_command: str = self.installpkg
if (self.utils.is_option(self.flag_reinstall, self.flags) and
if (self.utils.is_option(self.flag_reinstall, self.flags) or
self.utils.is_package_installed(package) or self.mode == 'upgrade'):
message: str = f'{self.cyan}Upgrade{self.endc}'