1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-02 21:47:12 +02:00
This commit is contained in:
GilbN 2022-07-22 12:11:33 +00:00
parent 68bf6e5b5c
commit 2c0cf2cf43

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