From 834703eafc5714368b96e4bc330f95c75750c1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramon=20Buld=C3=B3?= Date: Wed, 3 Jun 2015 13:02:40 +0200 Subject: [PATCH] Ops... forgot to change this back after testing... --- bin/mkchroot.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mkchroot.in b/bin/mkchroot.in index b28dfbc..5ac9c9a 100644 --- a/bin/mkchroot.in +++ b/bin/mkchroot.in @@ -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"