Browse Source

better naming in fetch script

pull/401/head
GilbN 3 years ago
parent
commit
7b70ae5e17
  1. 2
      fetch.sh

2
fetch.sh

@ -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
Loading…
Cancel
Save