Skip to content

Commit

Permalink
DEBUG: log stdout/err from updates check on Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Dec 7, 2024
1 parent eb83bb7 commit 3d62f36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package-managers/upgrades-installed-check
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ elif [ -e /etc/debian_version ]; then
exit_code="$?"
# shellcheck disable=SC2266
echo "$apt_get_upgrade_output" | awk "/^Inst/{ print $2 }" | [ "$(wc -L)" -eq 0 ] && echo "true" || echo "false"
echo "$apt_get_update_output" >&2
echo "$apt_get_upgrade_output" >&2
elif [ -e /etc/arch-release ]; then
## Archlinux
checkupdates >/dev/null 2>&1
Expand Down

0 comments on commit 3d62f36

Please sign in to comment.