- Made installing of flatpaks possible
This commit is contained in:
parent
11e1659cad
commit
d77215c227
@ -337,6 +337,22 @@ class PMEntropy(PackageManager):
|
|||||||
# Doesn't need to update the system explicitly
|
# Doesn't need to update the system explicitly
|
||||||
pass
|
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):
|
class PMLuet(PackageManager):
|
||||||
backend = "luet"
|
backend = "luet"
|
||||||
|
Loading…
Reference in New Issue
Block a user