diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-14 18:29:24 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-14 18:29:24 +0100 |
commit | 9e895707d72b600ab722337c7b26ce226675c11c (patch) | |
tree | 2a7944b90ce1b1df5981311726a6f2a2700a7289 /src/core | |
parent | 39e42a15a8e1c5ea1b4a61874de4f4834cb64e68 (diff) |
typo fix: $SYNC_URL -> $var_SYNC_URL
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/procedures/interactive | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/procedures/interactive b/src/core/procedures/interactive index 691652f..051d187 100644 --- a/src/core/procedures/interactive +++ b/src/core/procedures/interactive @@ -113,9 +113,9 @@ worker_configure_system() #TODO: only need to do this once. check 'ended_ok worker configure_system' is not good because this could be done already even if worker did not exit 0 # /etc/pacman.d/mirrorlist # add installer-selected mirror to the top of the mirrorlist - if [ "$var_PKG_SOURCE_TYPE" = "ftp" -a "${SYNC_URL}" != "" ]; then - debug "Adding choosen mirror (${SYNC_URL}) to ${var_TARGET_DIR}/$var_MIRRORLIST" - mirrorlist=`awk "BEGIN { printf(\"# Mirror used during installation\nServer = "${SYNC_URL}"\n\n\") } 1 " "${var_TARGET_DIR}/$var_MIRRORLIST"` + if [ "$var_PKG_SOURCE_TYPE" = "ftp" -a "${var_SYNC_URL}" != "" ]; then + debug "Adding choosen mirror (${var_SYNC_URL}) to ${var_TARGET_DIR}/$var_MIRRORLIST" + mirrorlist=`awk "BEGIN { printf(\"# Mirror used during installation\nServer = "${var_SYNC_URL}"\n\n\") } 1 " "${var_TARGET_DIR}/$var_MIRRORLIST"` echo "$mirrorlist" > "${var_TARGET_DIR}/$var_MIRRORLIST" #TODO: test this, this may not work fi |