summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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