summaryrefslogtreecommitdiff
path: root/src/fifa.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-01 19:36:05 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-01 19:36:05 +0100
commita95bfb1aaa4cf05dbb92a409f9a5ea8db720c98d (patch)
tree208593a33fd1546e79daeac65e8feaa032852aa1 /src/fifa.sh
parentad4447e651202c1e3ba0b665e40269fe345e9bc0 (diff)
var_TARGET_DIR and various other fixes
Diffstat (limited to 'src/fifa.sh')
-rwxr-xr-xsrc/fifa.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fifa.sh b/src/fifa.sh
index d0b1d75..7fbfa63 100755
--- a/src/fifa.sh
+++ b/src/fifa.sh
@@ -4,9 +4,6 @@
###### Set some default variables or get them from the setup script ######
TITLE="Flexible Installer Framework for Arch linux"
LOG="/dev/tty7"
-# flags like --noconfirm should not be specified here. it's up to the profile to decide the interactivity
-PACMAN=pacman
-PACMAN_TARGET="pacman --root $TARGET_DIR --config /tmp/pacman.conf"
@@ -135,6 +132,11 @@ load_library /home/arch/fifa/lib/lib-*.sh
[ "$1" != base ] && load_profile base
load_profile $1
+# Set pacman vars. allow profiles to have set $var_TARGET_DIR (TODO: look up how delayed variable substitution works. then we can put this at the top again)
+# flags like --noconfirm should not be specified here. it's up to the profile to decide the interactivity
+PACMAN=pacman
+PACMAN_TARGET="pacman --root $var_TARGET_DIR --config /tmp/pacman.conf"
+
execute phase preparation
execute phase basics
execute phase system