mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
13 lines
272 B
Bash
Executable File
13 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for locale in `ls locales/*.json`;
|
|
do
|
|
file=$(basename $locale);
|
|
if [ -f locales/tmp/$file ]; then
|
|
jq -s '.[0] * .[1]' $locale locales/tmp/$file > locales/tmp/tmp.json;
|
|
mv locales/tmp/tmp.json $locale;
|
|
fi;
|
|
done;
|
|
|
|
rm -r locales/tmp/
|