summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-23 22:03:02 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-24 10:10:33 +0200
commit1cfc67c8d70f0915fbd72175de8eb084187456f3 (patch)
treec3dd7550a67250db86e18ffc087274c49a77ef48 /bin
parent044089fe8abbf54e907848f2da779b323c3b6b6c (diff)
downloadjenkins.debian.net-1cfc67c8d70f0915fbd72175de8eb084187456f3.tar.xz
g-i-installation: better debug output and fix a key-stroke for debian-edu main-servers
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh18
1 files changed, 13 insertions, 5 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index bac5c41d..c175a6ff 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -51,6 +51,11 @@ RESULTS=$WORKSPACE/results
mkdir -p $RESULTS/log
#
+# set main counter
+#
+NR=0
+
+#
# language
#
if [ -z "$5" ] || [ -z "$6" ] ; then
@@ -119,7 +124,11 @@ cleanup_all() {
#
case $NAME in
*_rescue*) ;;
- *) save_logs
+ *) if [ $NR -gt 200 ] ; then
+ save_logs
+ else
+ echo "Not trying to get logs."
+ fi
;;
esac
}
@@ -669,7 +678,7 @@ post_install_boot() {
;;
1120) do_and_report type https
;;
- 1125) do_and_report key ":"
+ 1125) do_and_report key ":" # this will get a :
;;
1130) do_and_report type "//www"
;;
@@ -687,11 +696,11 @@ post_install_boot() {
;;
1370) do_and_report type https
;;
- 1375) do_and_report key ":"
+ 1375) do_and_report key ";" # this will get a :
;;
1380) do_and_report type "//www"
;;
- 1385) do_and_report key ":"
+ 1385) do_and_report key ";" # this will get a :
;;
1390) do_and_report type "631"
;;
@@ -1117,7 +1126,6 @@ fi
#
# run g-i
#
-NR=0
bootstrap_system
set +x
case $NAME in