From d9ac469409c313bfa5bdf96156a229a8e6e7f740 Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 1 May 2023 20:56:16 +0200 Subject: [PATCH] more color! --- makeanything.sh | 2 +- templates/install_base.tpl.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/makeanything.sh b/makeanything.sh index 86ca099..4aca46e 100755 --- a/makeanything.sh +++ b/makeanything.sh @@ -97,7 +97,7 @@ KERNEL_VER="$($CHROOTCMD /usr/bin/dpkg -l "linux-image-*" | grep "^ii"| awk '{print $2}' | grep -E 'linux-image-[0-9]\.([0-9]|[0-9][0-9])\.([0-9]|[0-9][0-9])-([0-9]|[0-9][0-9]).*-amd64$')" -message "using Kernel $KERNEL_VER" +message "using Kernel ${YELLOW}${KERNEL_VER}${ENDCOLOR}" sudo sed "s/%KERNEL_VER%/${KERNEL_VER}/g" templates/nanodesk-installer.tpl.sh > build/tmp/nanodesk-installer.sh sudo cp build/tmp/nanodesk-installer.sh build/chroot/root/nanodesk-installer.sh sudo chmod +x build/chroot/root/nanodesk-installer.sh diff --git a/templates/install_base.tpl.sh b/templates/install_base.tpl.sh index 46faf5b..e2e6efc 100644 --- a/templates/install_base.tpl.sh +++ b/templates/install_base.tpl.sh @@ -131,7 +131,7 @@ KERNEL_VER="$(dpkg -l "linux-image-*" | grep -E 'linux-image-[0-9]\.([0-9]|[0-9][0-9])\.([0-9]|[0-9][0-9])-([0-9]|[0-9][0-9]).*-amd64$')" test -n "$KERNEL_VER" || error -message "KERNEL_VER=$KERNEL_VER" +message "KERNEL_VER=${YELLOW}${KERNEL_VER}${ENDCOLOR}" ### but fetch packages for grub and kernel, so we do not need to download them ### in case nanodesk get installed to diska