From 996cf092f33e709184194e554506718226632800 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 18 Aug 2023 12:06:51 -0400 Subject: [PATCH] debugging --- usr/bin/dist-installer-cli | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/bin/dist-installer-cli b/usr/bin/dist-installer-cli index bd7ec76..ecf3f07 100755 --- a/usr/bin/dist-installer-cli +++ b/usr/bin/dist-installer-cli @@ -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."