mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Updated for slackware command
This commit is contained in:
parent
bbbe2d533b
commit
96e617ae00
1 changed files with 2 additions and 2 deletions
|
@ -50,6 +50,7 @@ class Slackbuilds(Configs):
|
|||
self.install_order: list = []
|
||||
self.dependencies: list = []
|
||||
self.slackware_command: str = str()
|
||||
self.slackware_command: str = self.installpkg
|
||||
|
||||
self.option_for_reinstall: bool = self.utils.is_option(
|
||||
['-r', '--reinstall'], flags)
|
||||
|
@ -87,6 +88,7 @@ class Slackbuilds(Configs):
|
|||
start: float = time.time()
|
||||
self.prepare_slackbuilds_for_build()
|
||||
self.download_the_sources()
|
||||
self.set_slackware_command()
|
||||
self.build_and_install_the_slackbuilds()
|
||||
elapsed_time: float = time.time() - start
|
||||
|
||||
|
@ -217,7 +219,6 @@ class Slackbuilds(Configs):
|
|||
|
||||
def install_package(self, name: str) -> None:
|
||||
package: str = self.find_package_for_install(name)
|
||||
self.set_slackware_command()
|
||||
|
||||
progress_message: str = f'{self.cyan}Installing{self.endc}'
|
||||
if self.mode == 'upgrade' or self.option_for_reinstall:
|
||||
|
@ -227,7 +228,6 @@ class Slackbuilds(Configs):
|
|||
self.multi_proc.process(command, package, progress_message)
|
||||
|
||||
def set_slackware_command(self) -> None:
|
||||
self.slackware_command: str = self.installpkg
|
||||
if self.option_for_reinstall:
|
||||
self.slackware_command: str = self.reinstall
|
||||
|
||||
|
|
Loading…
Reference in a new issue