mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
Add Luet PackageManager support
Sabayon is being rebuilt into MocaccinoOS with a new packagemanager.
This commit is contained in:
parent
231fa815c1
commit
4299ea1d4f
1 changed files with 16 additions and 0 deletions
|
@ -255,6 +255,22 @@ class PMEntropy(PackageManager):
|
|||
# Doesn't need to update the system explicitly
|
||||
pass
|
||||
|
||||
class PMLuet(PackageManager):
|
||||
backend = "luet"
|
||||
|
||||
def install(self, pkgs, from_local=False):
|
||||
check_target_env_call(["luet", "install", "-y"] + pkgs)
|
||||
|
||||
def remove(self, pkgs):
|
||||
check_target_env_call(["luet", "uninstall", "-y"] + pkgs)
|
||||
|
||||
def update_db(self):
|
||||
# Luet checks for DB update everytime its ran.
|
||||
pass
|
||||
|
||||
def update_system(self):
|
||||
check_target_env_call(["luet", "upgrade", "-y"])
|
||||
|
||||
|
||||
class PMPackageKit(PackageManager):
|
||||
backend = "packagekit"
|
||||
|
|
Loading…
Add table
Reference in a new issue