From 86d47cc4f61bd61f2f11dbc8e6075120f815ab71 Mon Sep 17 00:00:00 2001 From: tuxce Date: Sun, 14 Jun 2009 21:55:49 +0200 Subject: fix for remote (http) modules --- src/aif.sh | 2 +- src/core/libs/lib-flowcontrol.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/aif.sh b/src/aif.sh index a4f2d8b..ec1b612 100755 --- a/src/aif.sh +++ b/src/aif.sh @@ -33,7 +33,7 @@ process_args () echo "Welcome to $TITLE" mount -o remount,rw / &>/dev/null - +cleanup_runtime ### Set configuration values ### # note : you're free to use or ignore these in your procedure. probably you want to use these variables to override defaults in your configure worker diff --git a/src/core/libs/lib-flowcontrol.sh b/src/core/libs/lib-flowcontrol.sh index 9b874f0..14bbea4 100755 --- a/src/core/libs/lib-flowcontrol.sh +++ b/src/core/libs/lib-flowcontrol.sh @@ -56,7 +56,7 @@ load_procedure() { [ -z "$1" ] && die_error "load_procedure needs a module as \$1 and procedure as \$2" [ -z "$2" ] && die_error "load_procedure needs a procedure as \$2" - if [ "$1" = 'http:' ] + if [ "$1" = 'http' ] then log "Loading procedure $2 ..." procedure=$RUNTIME_DIR/aif-procedure-downloaded-`basename $2` @@ -202,7 +202,6 @@ show_report () #TODO: abstract UI method (cli/dia) start_installer () { log "################## START OF INSTALLATION ##################" - cleanup_runtime } -- cgit v1.2.3-54-g00ecf