mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
- Made installing of flatpaks possible
This commit is contained in:
parent
11e1659cad
commit
d77215c227
1 changed files with 16 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue