summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2021-04-03 14:05:07 +0200
committerHolger Paradies <retabell@gmx.de>2021-04-03 14:09:17 +0200
commitd4edae35b07405bab98012473acb368ce4353c4b (patch)
treef8594de861cf2714d3f39b69ea0ef1975f4730cc
parentd75c5c0a77dc9c99782e48b85dd2c7827325e9ac (diff)
downloadkanotix-d4edae35b07405bab98012473acb368ce4353c4b.zip
kanotix-d4edae35b07405bab98012473acb368ce4353c4b.tar.gz
Iso check function add messages
-rwxr-xr-xnightly_build.bash18
1 files 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