- Made installing of flatpaks possible

This commit is contained in:
Sławomir Lach 2023-08-01 08:28:48 -04:00
parent 11e1659cad
commit d77215c227

View File

@ -337,6 +337,22 @@ class PMEntropy(PackageManager):
# Doesn't need to update the system explicitly
pass
class PMFlatpak(PackageManager):
backend = "flatpak"
def install(self, pkgs, from_local=False):
check_target_env_call(["flatpak", "install"] + pkgs)
def remove(self, pkgs):
check_target_env_call(["flatpak", "uninstall"] + pkgs)
check_target_env_call(["flatpak", "uninstall", "--unneeded"])
def update_db(self):
pass
def update_system(self):
# Doesn't need to update the system explicitly
pass
class PMLuet(PackageManager):
backend = "luet"