summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorten Linderud <foxboron@archlinux.org>2022-11-21 10:51:02 +0100
committerLevente Polyak <anthraxx@archlinux.org>2022-11-21 21:48:22 +0100
commita510331698bb13ca11ccd7db3f9beef75f87744c (patch)
treee7beacdcbfafacad0467272ffca3b117edcde91f
parentdca8f91d26239262dc865552b4e95d0e84e83365 (diff)
downloaddevtools-a510331698bb13ca11ccd7db3f9beef75f87744c.tar.xz
mkarchroot: remove deprecated -d option
It's been deprecated for a few years now. https://github.com/archlinux/arch-install-scripts/commit/91562aa99cd8237a2dec1aff5101949e40bf7d75 Signed-off-by: Morten Linderud <foxboron@archlinux.org>
-rw-r--r--src/mkarchroot.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mkarchroot.in b/src/mkarchroot.in
index d199bed..45ad19c 100644
--- a/src/mkarchroot.in
+++ b/src/mkarchroot.in
@@ -81,7 +81,7 @@ for file in "${files[@]}"; do
cp "$file" "$working_dir$file"
done
-unshare --mount pacstrap -${umode}Mcd ${pac_conf:+-C "$pac_conf"} "$working_dir" \
+unshare --mount pacstrap -${umode}Mc ${pac_conf:+-C "$pac_conf"} "$working_dir" \
"${cache_dirs[@]/#/--cachedir=}" "$@" || die 'Failed to install all packages'
printf '%s.UTF-8 UTF-8\n' C en_US de_DE > "$working_dir/etc/locale.gen"