Ops... forgot to change this back after testing...
This commit is contained in:
parent
780a0c090e
commit
834703eafc
1 changed files with 2 additions and 2 deletions
|
@ -90,10 +90,10 @@ if [[ -n $pac_conf ]] && [[ -n $mirrors_conf ]]; then
|
|||
pac_base="$working_dir/pacman-pacstrap.conf"
|
||||
sed "s#Include = /etc/pacman.d/mirrorlist#Server = ${host_mirror}#g" $pac_conf > $pac_base
|
||||
basestrap -GMcd ${pac_base:+-C "$pac_base"} "$working_dir" \
|
||||
"${cache_dirs[@]/#/--cachedir=}" "firefox" || die 'Failed to install all packages'
|
||||
"${cache_dirs[@]/#/--cachedir=}" "$@" || die 'Failed to install all packages'
|
||||
else
|
||||
basestrap -GMcd ${pac_conf:+-C "$pac_conf"} "$working_dir" \
|
||||
"${cache_dirs[@]/#/--cachedir=}" "firefox" || die 'Failed to install all packages'
|
||||
"${cache_dirs[@]/#/--cachedir=}" "$@" || die 'Failed to install all packages'
|
||||
fi
|
||||
|
||||
[[ -f "$working_dir/pacman-pacstrap.conf" ]] && rm "$working_dir/pacman-pacstrap.conf"
|
||||
|
|
Loading…
Reference in a new issue