mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 03:54:59 -05:00
makepkg: always look for sources in source=()
This regression snuck in during some reviewing of 963f7fe02f
(arch-specific sources). We must always check the source=() array for
sources.
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
d8f395fb56
commit
d6785a5726
@ -1309,6 +1309,8 @@ verify_integrity_sums() {
|
|||||||
have_sources() {
|
have_sources() {
|
||||||
local a
|
local a
|
||||||
|
|
||||||
|
(( ${#source[*]} )) && return 0
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
all)
|
all)
|
||||||
for a in "${arch[@]}"; do
|
for a in "${arch[@]}"; do
|
||||||
@ -1316,9 +1318,7 @@ have_sources() {
|
|||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if (( ${#source[*]} )) || array_build _ source_"$CARCH"; then
|
array_build _ source_"$CARCH" && return 0
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user