mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
Run urpme noninteractive (OpenMandriva).
Thanks Tomasz Paweł Gajc <tpgxyz@gmail.com> for the patch.
This commit is contained in:
parent
0d4cab75c5
commit
abeb6d9172
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class PackageManager:
|
|||
# ignore the error code for now because dnf thinks removing a nonexistent package is an error
|
||||
chroot_call(["dnf", "--disablerepo=*", "-C", "-y", "remove"] + pkgs)
|
||||
elif self.backend == "urpmi":
|
||||
check_chroot_call(["urpme"] + pkgs)
|
||||
check_chroot_call(["urpme", "--auto"] + pkgs)
|
||||
elif self.backend == "apt":
|
||||
check_chroot_call(["apt-get", "--purge", "-q", "-y", "remove"] + pkgs)
|
||||
check_chroot_call(["apt-get", "--purge", "-q", "-y", "autoremove"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue