summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-01 22:36:28 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-01 22:36:28 +0100
commit43689224c1db3a4a23440d364fb4be557590b75e (patch)
tree0d9c0ab02a1bc6d1994e64b98e54f13834adb443 /src
parentac721259361f73dfc5bf710838514c8701fb6357 (diff)
abstracted the phase launching so now its easier to port the classic installer
Diffstat (limited to 'src')
-rwxr-xr-xsrc/fifa.sh15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/fifa.sh b/src/fifa.sh
index 7fbfa63..09d6d1e 100755
--- a/src/fifa.sh
+++ b/src/fifa.sh
@@ -120,6 +120,15 @@ execute ()
}
+start_process ()
+{
+ execute phase preparation
+ execute phase basics
+ execute phase system
+ execute phase finish
+}
+
+
###### perform actual logic ######
echo "Welcome to $TITLE"
@@ -137,8 +146,4 @@ load_profile $1
PACMAN=pacman
PACMAN_TARGET="pacman --root $var_TARGET_DIR --config /tmp/pacman.conf"
-execute phase preparation
-execute phase basics
-execute phase system
-execute phase finish
-
+start_process