index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Brian Bidulock <bidulock@openss7.org> | 2017-11-18 22:53:37 -0700 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2019-08-09 19:41:51 +0200 |
commit | 27ff286ee78eb2faac803e3ef67f3171ddfa0098 (patch) | |
tree | bfd4e7073611d25d97f2630a7c5bbba2422cb99d /arch-nspawn.in | |
parent | 2180aabc816aae1fb4bb7c341fee53fe48ffa98e (diff) |
-rw-r--r-- | arch-nspawn.in | 2 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index a0e24dc..c2bce76 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -55,7 +55,7 @@ shift 1 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 < <($pacconf_cmd --config "${pac_conf:-$working_dir/etc/pacman.conf}" CacheDir) fi # shellcheck disable=2016 |