mirror of
https://github.com/FriendlyNeighborhoodShane/MinMicroG
synced 2024-11-05 00:00:46 +00:00
Improve FDroid error check
This commit is contained in:
parent
34ad161546
commit
fcc3990b01
@ -133,7 +133,7 @@ for object in $(echo "$stuff_download" | awk '{ print $1 }'); do
|
||||
else
|
||||
objectserverfile="$(jq -r --arg pkg "$objectpackage" '.packages[$pkg][].apkName' "$tmpdir/repos/$objectrepo.json" | head -n1)";
|
||||
fi;
|
||||
[ "$objectserver" ] && [ "$objectserverfile" ] || { echo "ERROR: $object has no URL available" >&2; continue; }
|
||||
[ "$objectserver" ] && [ "$objectserver" != "null" ] && [ "$objectserverfile" ] && [ "$objectserverfile" != "null" ] || { echo "ERROR: $object has no URL available" >&2; continue; }
|
||||
objecturl="$objectserver/$objectserverfile";
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user