mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: naming
This commit is contained in:
1 parent
78160041e8
commit
711d92887e
1 file changed
+6
-8
@@ -134,7 +134,6 @@ jobs:
|
|||||||
while :; do
|
while :; do
|
||||||
part=$(printf "%03d" $i)
|
part=$(printf "%03d" $i)
|
||||||
url="${ARCHIVE_URL}.${part}"
|
url="${ARCHIVE_URL}.${part}"
|
||||||
|
|
||||||
if wget --spider -q "$url"; then
|
if wget --spider -q "$url"; then
|
||||||
urls+=("$url")
|
urls+=("$url")
|
||||||
((i++))
|
((i++))
|
||||||
@@ -143,18 +142,17 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for u in "${urls[@]}"; do
|
for u in "${urls[@]}"; do echo "$u"; done
|
||||||
echo "$u"
|
|
||||||
done
|
|
||||||
|
|
||||||
for url in "${urls[@]}"; do
|
for url in "${urls[@]}"; do
|
||||||
part=$(basename "$url")
|
dest="temp/archives/$(basename "$url")"
|
||||||
wget -q -O "temp/archives/$part" "$url" &
|
wget -q -O "$dest" "$url" &
|
||||||
done
|
done
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
||||||
7z x temp/archives/part.001 -otemp/game
|
first=$(ls temp/archives/*.001 | head -n 1)
|
||||||
|
7z x "$first" -otemp/game
|
||||||
|
|
||||||
rm -rf temp/archives
|
rm -rf temp/archives
|
||||||
|
|
||||||
- name: Archive game
|
- name: Archive game
|
||||||
|
|||||||
Reference in new issue
Block a user