Skip to content

pacman: enable debug mode #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions update-via-pacman.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (!(Test-Path var\log -PathType Container)) {
}

echo "Run Pacman (First Pass)"
bash -lc "pacman -Syyu --overwrite=\* --noconfirm"
bash -lc "pacman --debug -Syyu --overwrite=\* --noconfirm"
if (!$?) { exit 1 }

# Ensure that the Git for Windows keyring is registered
Expand Down Expand Up @@ -68,7 +68,7 @@ if ($type -Match "full system upgrade") {
echo "No second pass needed"
} else {
echo "Run Pacman again (Second Pass) to upgrade the remaining (non-core) packages"
bash -lc "pacman -Su --overwrite=\* --noconfirm"
bash -lc "pacman --debug -Su --overwrite=\* --noconfirm"
if (!$?) { exit 1 }

# Ensure that the Git for Windows keyring is registered
Expand Down Expand Up @@ -143,4 +143,4 @@ if ($pacnew.Length -gt 0) {
}

# Wrapping up: re-install mingw-w64-git-extra
bash -lc "pacman -S --overwrite=\* --noconfirm mingw-w64-clang-aarch64-git-extra"
bash -lc "pacman --debug -S --overwrite=\* --noconfirm mingw-w64-clang-aarch64-git-extra"
Loading