From 42afcc1aabf26d6e9f3ae231082014698f50154d Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 29 Jul 2009 21:33:30 +0200 Subject: add disclaimer --- src/aif.sh | 3 ++- src/core/procedures/automatic | 2 +- src/core/procedures/base | 2 +- src/core/procedures/interactive | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/aif.sh b/src/aif.sh index e58815f..0b3579d 100755 --- a/src/aif.sh +++ b/src/aif.sh @@ -9,7 +9,8 @@ LIB_USER=/usr/lib/aif/user RUNTIME_DIR=/tmp/aif LOG_DIR=/var/log/aif LOGFILE=$LOG_DIR/aif.log - +DISCLAIMER="Note that despite our careful coding and proper testing there may still be bugs in this software.\n +When you are doing this installation on a system where some data must be preserved, we suggest you make a backup first" ###### Early bootstrap ###### diff --git a/src/core/procedures/automatic b/src/core/procedures/automatic index 1fae06d..7eeb70a 100644 --- a/src/core/procedures/automatic +++ b/src/core/procedures/automatic @@ -36,7 +36,7 @@ process_args () worker_intro () { - notify "Automatic procedure running profile $var_AUTOMATIC_PROFILE ..." + notify "Automatic procedure running profile $var_AUTOMATIC_PROFILE ...\n$DISCLAIMER" } diff --git a/src/core/procedures/base b/src/core/procedures/base index fb7a60f..47ebd8a 100644 --- a/src/core/procedures/base +++ b/src/core/procedures/base @@ -44,7 +44,7 @@ phase_finish=(msg_report) ###### Workers ( can be overridden by more specific procedures) ###### worker_intro () { - ask_yesno "This is a low-interactivity 'common defaults' installation. Do you really want to do this? We may overwrite your data." + ask_yesno "This is a low-interactivity 'common defaults' installation, not meant for direct invocation. Do you really want to do this? We may overwrite your data." if [ $? -gt 0 ] then die_error "User aborted base profile execution" diff --git a/src/core/procedures/interactive b/src/core/procedures/interactive index 240b4bf..2f492d9 100644 --- a/src/core/procedures/interactive +++ b/src/core/procedures/interactive @@ -120,7 +120,7 @@ worker_intro () the order they are presented. If you are unfamiliar with partitioning/making\ filesystems, you may want to consult some documentation before continuing.\ You can view all output from commands by viewing your VC7 console (ALT-F7).\ - ALT-F1 will bring you back here." + ALT-F1 will bring you back here.\n\n$DISCLAIMER" } -- cgit v1.2.3-54-g00ecf