summaryrefslogtreecommitdiff
path: root/src/core/procedures
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-02-28 18:02:11 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2009-02-28 18:02:11 +0100
commit6f20b17624a1fb9c6e4d6fd1ba4efaf463209065 (patch)
treea7ac85886fc0e917dc6cc233d0629373643195c6 /src/core/procedures
parent07d9ffe35c6dffda66987832a25802cbf54f2f4e (diff)
check_is_in fixes.. and this time i mean it.. i think. hopefully. + test script for check_is_in
Diffstat (limited to 'src/core/procedures')
-rw-r--r--src/core/procedures/automatic4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/procedures/automatic b/src/core/procedures/automatic
index 3c93167..cde7f6a 100644
--- a/src/core/procedures/automatic
+++ b/src/core/procedures/automatic
@@ -71,14 +71,14 @@ worker_runtime_network ()
# Check if we have all needed settings loaded from the profile
worker_runtime_settings ()
{
- if check_is_in $var_RUNTIME_PACKAGES svn
+ if check_is_in svn $var_RUNTIME_PACKAGES
then
[ -z "$SVN_USERNAME" ] && ask_string "Please enter your svn username" && SVN_USERNAME=$ANSWER_STRING
[ -z "$SVN_PASSWORD" ] && ask_password svn #TODO: if user entered incorrect password, the install process will just fail..
[ -z "$SVN_BASE" ] && ask_string "What's the base path of your svn repo? (no ending /) " && SVN_BASE=$ANSWER_STRING
[ -z "$DEPLOY_CLASS" ] && ask_string "Which hostclass are you installing? (optional)" '' 0 && DEPLOY_CLASS=$ANSWER_STRING
SVN="svn --username $SVN_USERNAME --password $SVN_PASSWORD"
- elif check_is_in $var_RUNTIME_PACKAGES moo
+ elif check_is_in moo $var_RUNTIME_PACKAGES
then
# Maybe more stuff later
true