mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Rename .tools/sortjson.sh to .templates/sortjson.sh
This commit is contained in:
5
.templates/sortjson.sh
Normal file
5
.templates/sortjson.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
for files in */*.json; do
|
||||
/./c/Tmp/jq-win64.exe --sort-keys . "$files" > config2.json && cat config2.json > "$files" && rm config2.json
|
||||
done
|
||||
Reference in New Issue
Block a user