From b089017f69b0b1bdfdb67d41615f16bd2929e314 Mon Sep 17 00:00:00 2001 From: Philippe Zwietering Date: Tue, 30 Apr 2024 14:48:01 +0200 Subject: [PATCH] Forwarding error to std output in bash script now --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index aca7924..12e2d66 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -4,7 +4,7 @@ necessary_packages=("pdflatex") for package in ${necessary_packages}; do - if ! [dpkg -l ${package} > /dev/null]; then + if ! [dpkg -l ${package} > /dev/null 2>&1]; then echo "Error: ${package} is not installed." exit 1 fi