mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[aur] initial retrievement of update requirements implementation
This commit is contained in:
@@ -90,6 +90,15 @@ class SoftwareManager(ABC):
|
||||
"""
|
||||
return pkgs
|
||||
|
||||
def get_update_requirements(self, pkgs: List[SoftwarePackage], watcher: ProcessWatcher) -> List[SoftwarePackage]:
|
||||
"""
|
||||
return additional required software that needs to be installed before updating a list of packages
|
||||
:param pkgs:
|
||||
:param watcher
|
||||
:return:
|
||||
"""
|
||||
return []
|
||||
|
||||
@abstractmethod
|
||||
def update(self, pkg: SoftwarePackage, root_password: str, watcher: ProcessWatcher) -> bool:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user