add logging

This commit is contained in:
Mario Fetka 2024-07-06 15:17:17 +02:00
parent 659e3b4edb
commit 775cf27a57

View File

@ -71,8 +71,8 @@ function msg_ok() {
mkdir -p $MSTEMPDIR &>/dev/null
msg_info "Installing needed base packages"
cmd_exec apt update
cmd_exec apt install lsb-release dpkg-dev wget curl figlet lolcat unzip whiptail dialog -y &>$INSTALLLOG
cmd_exec apt update | tee -a $INSTALLLOG
cmd_exec apt install lsb-release dpkg-dev wget curl figlet lolcat unzip whiptail dialog -y | tee -a $INSTALLLOG
msg_ok "Installing needed base packages"
function header_info {