1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-20 18:12:31 +01:00

better naming in fetch script

This commit is contained in:
GilbN 2022-07-22 14:10:57 +02:00
parent 0a7cbe6db6
commit 7b70ae5e17

View File

@ -11,7 +11,7 @@ mkdir -p "$DIR"
printf "\nSaving mods into $DIR\n\n"
jq -r 'to_entries | map(.key + "|" + (.value | tostring)) | .[]' <<< "$MODS" | \
while IFS='|' read key value; do
curl "$value" --create-dirs --output "$DIR/$key" --silent
curl "$value" --create-dirs --output "$DIR/98-themepark-$key" --silent
echo "Fetched $key script"
done
chmod go+rx $DIR