Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mkarchroot.in
diff options
context:
space:
mode:
Diffstat (limited to 'mkarchroot.in')
-rw-r--r--mkarchroot.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index 37f6802..11d5eb9 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -63,10 +63,9 @@ shift 1
[[ -z $working_dir ]] && die 'Please specify a working directory.'
-pacconf_cmd=$(command -v pacman-conf || command -v pacconf)
if (( ${#cache_dirs[@]} == 0 )); then
- mapfile -t cache_dirs < <($pacconf_cmd CacheDir)
+ mapfile -t cache_dirs < <(pacman-conf CacheDir)
fi
umask 0022