mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 16:38:21 -04:00
Fix incorrect if statement
This commit is contained in:
parent
995341e9be
commit
880c19c195
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class PackageManager:
|
|||
elif self.backend == "apt":
|
||||
check_chroot_call(["apt-get", "-q", "-y", "install"] + pkgs)
|
||||
elif self.backend == "pacman":
|
||||
pacman_flags = "-Sy" if from_local else "-U"
|
||||
pacman_flags = "-U" if from_local else "-Sy"
|
||||
check_chroot_call(["pacman", pacman_flags, "--noconfirm"] + pkgs)
|
||||
|
||||
def remove(self, pkgs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue