This commit is contained in:
leca 2024-09-29 18:19:05 +03:00
parent bff468dd08
commit 22668fa16e
1 changed files with 1 additions and 1 deletions

View File

@ -63,6 +63,7 @@ download_and_install_mod () {
# 1 = mod id
get_dependencies () {
calculated_dependencies+=("$1")
echo Checking deps for "$1"
deps=$(curl --silent -X GET "$API_URL/packages/${1}/dependencies/")
deps=$(echo "$deps" | jq ".\"${1}\"")
@ -70,7 +71,6 @@ get_dependencies () {
amount_of_deps="${#deps_array[@]}"
if [ "$amount_of_deps" -eq 0 ]; then
calculated_dependencies+=("$1")
echo "No deps for mod"
return
fi