mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-20 01:52:32 +01:00
deploy: 7b70ae5e17
This commit is contained in:
parent
68bf6e5b5c
commit
2c0cf2cf43
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…
Reference in New Issue
Block a user