- Force flatpak do not asks questions

This commit is contained in:
Sławomir Lach 2023-08-02 17:42:11 +02:00
parent 3666e3af7b
commit ec30fe1b61

View File

@ -341,11 +341,11 @@ class PMFlatpak(PackageManager):
backend = "flatpak"
def install(self, pkgs, from_local=False):
check_target_env_call(["flatpak", "install"] + pkgs)
check_target_env_call(["flatpak", "install", "--assumeyes"] + pkgs)
def remove(self, pkgs):
check_target_env_call(["flatpak", "uninstall"] + pkgs)
check_target_env_call(["flatpak", "uninstall", "--unneeded"])
check_target_env_call(["flatpak", "uninstall", "--noninteractive"] + pkgs)
check_target_env_call(["flatpak", "uninstall", "--noninteractive", "--unneeded"])
def update_db(self):
pass