summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-07-29 21:33:30 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-07-29 21:33:30 +0200
commit42afcc1aabf26d6e9f3ae231082014698f50154d (patch)
tree6f8965ffadceaa4d70e4087f1fe06d8bb8e9009d
parent57344fc7a3d918314fab9626ec27976e55af6bab (diff)
add disclaimer
-rwxr-xr-xsrc/aif.sh3
-rw-r--r--src/core/procedures/automatic2
-rw-r--r--src/core/procedures/base2
-rw-r--r--src/core/procedures/interactive2
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"
}