diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2023-02-23 11:46:13 -0500 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-02-20 10:12:45 -0700 |
commit | 6654cd921179454a2eed8f1529665d0407bfc9f1 (patch) | |
tree | 15c42f208c73d5298454e63a7efea1f9a46507c5 | |
parent | 0302fbd75d4da1c268fd962aaf853cda2d7e6ea8 (diff) |
Fix support for pacstrap v28 and laterlibretools-20240221lukeshu/master
pacstrap v28 dropped the "-d" flag (which was needed prior to v18, but
v18 made it so that the "-d" behavior is always on, and the "-d" flag
became a no-op).
v0: bill-auger: Original
v1: lukeshu: Clarify the commit message
-rw-r--r-- | mkarchroot.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkarchroot.in b/mkarchroot.in index 5165960..15d2f02 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -83,7 +83,7 @@ while read -r varname; do _env+=("$varname=${!varname}") done < <(declare -x | sed -r 's/^declare -x ([^=]*)=.*/\1/' | grep -i '_proxy$') env -i "${_env[@]}" \ -pacstrap -GMcd ${pac_conf:+-C "$pac_conf"} "$working_dir" \ +pacstrap -GMc ${pac_conf:+-C "$pac_conf"} "$working_dir" \ "${cache_dirs[@]/#/--cachedir=}" "$@" || die 'Failed to install all packages' printf '%s.UTF-8 UTF-8\n' en_US de_DE > "$working_dir/etc/locale.gen" |