From d4edae35b07405bab98012473acb368ce4353c4b Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Sat, 3 Apr 2021 14:05:07 +0200 Subject: Iso check function add messages --- nightly_build.bash | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/nightly_build.bash b/nightly_build.bash index 85f2ac8..d654982 100755 --- a/nightly_build.bash +++ b/nightly_build.bash @@ -7,19 +7,21 @@ function check_iso { echo "K: Kanotix start iso check..." >>binary.log IERR=0 if grep -F -q "E: " binary.log; then - echo "K: ERROR found...1" >>binary.log + echo "K: build ERROR found...1" >>binary.log IERR=1 fi if grep -F -q "Err:" binary.log; then - echo "K: ERROR found...2" >>binary.log + echo "K: apt-cacher-ng ERROR found...2" >>binary.log IERR=2 fi -if grep ^parted binary.packages|grep kanotix >/dev/null; then - echo -else - echo "K: non kanotix parted version found" >>binary.log - echo "K: ERROR found...3" >>binary.log - IERR=3 +if grep -q ^parted binary.packages; then + if grep ^parted binary.packages|grep kanotix >/dev/null; then + echo + else + echo "K: non kanotix parted version found" >>binary.log + echo "K: ERROR found...3" >>binary.log + IERR=4 + fi fi if grep -q ^winetricks binary.packages; then if grep ^winetricks binary.packages|grep kanotix >/dev/null; then -- cgit v1.0