index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Levente Polyak <anthraxx@archlinux.org> | 2023-09-05 00:00:56 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-09-10 00:03:42 +0200 |
commit | 547961681a1941bbe480dba3de8a1d6743965e71 (patch) | |
tree | 7b50ea6d056459c7ca74fa4ad267f14033619428 /src/lib/util | |
parent | 8190a22480ac6d808b9d648f87e89be4a01926ef (diff) |
-rw-r--r-- | src/lib/util/pacman.sh | 5 |
diff --git a/src/lib/util/pacman.sh b/src/lib/util/pacman.sh index 541147c..82a227b 100644 --- a/src/lib/util/pacman.sh +++ b/src/lib/util/pacman.sh @@ -39,9 +39,12 @@ get_pacman_repo_from_pkgbuild() { fi slock 10 "${_DEVTOOLS_PACMAN_CACHE_DIR}.lock" "Locking pacman database cache" + # query repo of passed pkgname, specify --nodeps twice to skip all dependency checks mapfile -t repos < <(pacman --config "${_DEVTOOLS_PACMAN_CONF_DIR}/multilib.conf" \ --dbpath "${_DEVTOOLS_PACMAN_CACHE_DIR}" \ - -S \ + --sync \ + --nodeps \ + --nodeps \ --print \ --print-format '%n %r' \ "${pkgnames[0]}" | awk '$1=="'"${pkgnames[0]}"'"{print $2}' |