mirror of
https://codeberg.org/librewolf/source.git
synced 2025-01-03 03:10:07 -05:00
pretty print uBOAssets.json
for better diff
This commit is contained in:
parent
dc822fbe37
commit
6014d3649a
2 changed files with 681 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
@ -38,9 +38,12 @@ add_filter_list "LegitimateURLShortener" '{
|
||||||
|
|
||||||
# Write the resulting json into line 4 of the patchfile
|
# Write the resulting json into line 4 of the patchfile
|
||||||
echo "-> Writing to assets/uBOAssets.json"
|
echo "-> Writing to assets/uBOAssets.json"
|
||||||
echo $assets | jq -c >./assets/uBOAssets.json
|
echo $assets | jq . >./assets/uBOAssets.json
|
||||||
|
|
||||||
if [[ "$(read -e -p '-? Commit changes? [y/N] '; echo $REPLY)" == [Yy]* ]]; then
|
if [[ "$(
|
||||||
|
read -e -p '-? Commit changes? [y/N] '
|
||||||
|
echo $REPLY
|
||||||
|
)" == [Yy]* ]]; then
|
||||||
echo "-> Committing changes"
|
echo "-> Committing changes"
|
||||||
git add assets/uBOAssets.json
|
git add assets/uBOAssets.json
|
||||||
git commit -m "Update uBOAssets.json with latest changes"
|
git commit -m "Update uBOAssets.json with latest changes"
|
||||||
|
|
Loading…
Reference in a new issue