[packages] Make pacman output more verbose

This commit is contained in:
dalto 2022-01-17 16:24:56 -06:00
parent 11f3f938d8
commit 4811c59e33

View File

@ -382,7 +382,7 @@ class PMPacman(PackageManager):
def line_cb(line): def line_cb(line):
if line.startswith(":: "): if line.startswith(":: "):
self.in_package_changes = "package changes" in line self.in_package_changes = "package" in line or "hooks" in line
else: else:
if self.in_package_changes and line.endswith("...\n"): if self.in_package_changes and line.endswith("...\n"):
# Update the message, untranslated; do not change the # Update the message, untranslated; do not change the
@ -444,8 +444,12 @@ class PMPacman(PackageManager):
else: else:
command.append("-S") command.append("-S")
# Don't ask for user intervention, take the default action
command.append("--noconfirm") command.append("--noconfirm")
# Don't report download progress for each file
command.append("--noprogressbar")
if self.pacman_needed_only is True: if self.pacman_needed_only is True:
command.append("--needed") command.append("--needed")