Improve urpmi call. Thanks Tomasz Paweł Gajc for the patch.

This commit is contained in:
Teo Mrnjavac 2015-01-27 18:38:11 +01:00
parent 3781e3415d
commit 2cd9c7c0fa

View File

@ -35,7 +35,7 @@ class PackageManager:
elif self.backend == "dnf":
check_chroot_call(["dnf", "install", "-y"] + pkgs)
elif self.backend == "urpmi":
check_chroot_call(["urpmi"] + pkgs)
check_chroot_call(["urpmi", "--download-all", "--no-suggests", "--no-verify-rpm", "--fastunsafe", "--ignoresize", "--nolock", "--auto"] + pkgs)
elif self.backend == "apt":
check_chroot_call(["apt-get", "-q", "-y", "install"] + pkgs)
elif self.backend == "pacman":