diff options
author | bartus <szczepaniak.bartek+github@gmail.com> | 2021-03-05 21:11:34 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2021-07-17 23:10:30 +0200 |
commit | c5c5dbc64fe68ca0fdfdab177520f9fdb1d7fcd8 (patch) | |
tree | ffd55bf565f22107e8574ae0068d21107bde78c1 /mkarchroot.in | |
parent | 0a0e66a784d4831c4139bf646b5329bff54465d7 (diff) | |
download | devtools-c5c5dbc64fe68ca0fdfdab177520f9fdb1d7fcd8.tar.xz |
Drop pacutils:`pacconf` fallback
As of pacman:5.2 `pacman-conf` obsoletes `pacconf`
Diffstat (limited to 'mkarchroot.in')
-rw-r--r-- | mkarchroot.in | 3 |
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 |