From 734b4d5a58e08e21ec628951cf559e9c2a33d94b Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 6 Jul 2024 15:25:59 +0200 Subject: [PATCH] add logging --- install-next.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install-next.sh b/install-next.sh index 7808ab0..8ec4fc7 100644 --- a/install-next.sh +++ b/install-next.sh @@ -71,8 +71,8 @@ function msg_ok() { mkdir -p $MSTEMPDIR &>/dev/null msg_info "Installing needed base packages" -cmd_exec apt update | tee -a $INSTALLLOG &>/dev/null -cmd_exec apt install lsb-release dpkg-dev wget curl figlet lolcat unzip whiptail dialog -y | tee -a $INSTALLLOG &>/dev/null +cmd_exec apt update &>>$INSTALLLOG +cmd_exec apt install lsb-release dpkg-dev wget curl figlet lolcat unzip whiptail dialog -y &>>$INSTALLLOG msg_ok "Installing needed base packages" function header_info { @@ -138,7 +138,7 @@ msg_ok "adding bullseye repository to bookworm for python2" fi msg_info "Setting up ${APP} Repository" -apt install -y software-properties-common &>$INSTALLLOG +cmd_exec apt install -y software-properties-common &>$INSTALLLOG if [ "${DIST}" = "Debian" ]; then cmd_exec apt-add-repository -y contrib &>$INSTALLLOG cmd_exec apt-add-repository -y non-free &>$INSTALLLOG