mirror of
https://github.com/xHyroM/aetheria.git
synced 2024-12-21 12:01:06 +01:00
build: start counting from one
This commit is contained in:
parent
13b42fb4e4
commit
b5cdf39678
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ chmod 755 .cache/$MRPACK_NAME/modrinth.index.json
|
|||
|
||||
# Get the slugs
|
||||
length=$(jq -r '.files | length' .cache/$MRPACK_NAME/modrinth.index.json)
|
||||
i=0
|
||||
i=1
|
||||
jq -r '.files[] | .downloads[0]' .cache/$MRPACK_NAME/modrinth.index.json | while read -r url; do
|
||||
project_id=$(echo $url | cut -d'/' -f5)
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ cd "$PACKWIZ_MODPACK_FOLDER"
|
|||
|
||||
length=$(echo "$SLUGS" | wc -l)
|
||||
|
||||
i=0
|
||||
i=1
|
||||
for slug in $SLUGS; do
|
||||
echo "Processing $slug ($i / $length)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue