Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Aug 18, 2023
1 parent 775fa93 commit 996cf09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions usr/bin/dist-installer-cli
Original file line number Diff line number Diff line change
Expand Up @@ -900,9 +900,14 @@ update_sources(){
log notice "Updating package list."

## Debugging.
tty || true
ls -la /dev/tty
test -w /dev/tty

#root_cmd ${pkg_mngr_update} 2>&1 || true
#update_sources_error
## result: OK: command_without_extrarenous_spaces="sudo -- apt-get update --yes --error-on=any"

# shellcheck disable=SC2086
if update_output=$(root_cmd ${pkg_mngr_update} 2>&1 | tee /dev/tty) ; then
true "INFO: Exit code is zero but that does not guarantee in case of dnf that there is no error."
Expand Down

0 comments on commit 996cf09

Please sign in to comment.