summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-13 13:42:58 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-13 13:42:58 +0100
commit33dd56f6e3725133e7d537db4d25b5563d26f2e8 (patch)
treed7ac0fc8c23dd380801f80d6ebaeb1cbb214b928
parentfa0e7fdc0aebbf36924dc2d13965a5886947c427 (diff)
probably check_depend pretty title fix
-rw-r--r--TODO2
-rw-r--r--src/core/libs/lib-ui-interactive.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/TODO b/TODO
index 1ca885b..c569c29 100644
--- a/TODO
+++ b/TODO
@@ -30,7 +30,7 @@ not mounted under /mnt
* core/interactive or lib-ui: don't echo the name/id of selection options in dia mode
* core/base: implement as specified in README
* core/quickinst: figure out what needs to be done and do it.
-* check_dependency does not take the pretty title?
+* check_dependency does not take the pretty title? -> fixed i think
* dieter/automatic: wait for yaourt --config fix
* dieter/automatic: put config files from svn in place first, so that if a package has an update, it can do it's thing.
* on boot after fresh install sometimes filesystem creation date is newer then current date -> fsck. sometimes even forced reboot. (i've had this witch /arch/setup too)
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh
index 29fb765..472c878 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -11,7 +11,7 @@ check_depend ()
ended_ok $1 $2 && return 0
subject="$1 $2"
- title=worker_$1_$2_title
+ title=$1_$2_title
[ -n "${!title}" ] && subject="'${!title}'"
show_warning "Cannot Continue. Going back to $2" "You must do $subject first before going here!." && return 1
}