Fixed for upgrading

This commit is contained in:
Dimitris Zlatanidis 2023-05-17 09:20:21 +03:00
parent e043d79374
commit 77ed55a450

View file

@ -229,7 +229,7 @@ class Slackbuilds(Configs):
self.progress_message: str = f'{self.cyan}Upgrading{self.endc}'
def set_slackware_command(self) -> None:
if self.option_for_reinstall:
if self.mode == 'upgrade' or self.option_for_reinstall:
self.slackware_command: str = self.reinstall
def find_package_for_install(self, name: str) -> str: