Skip to content

Commit

Permalink
Change acknowledgements
Browse files Browse the repository at this point in the history
  • Loading branch information
NezbednikSK committed Nov 3, 2023
1 parent efbf9c5 commit 30b258a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion data/acknowledgements.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Hello!!!!!!!!! Very epic settings text that was wrapped { "repositories": [ "hbb1.oscwii.org" ] } { "repositories": [ "hbb1.oscwii.org" ] } { "repositories": [ "hbb1.oscwii.org" ] } { "repositories": [ "hbb1.oscwii.org" ] } { "repositories": [ "hbb1.oscwii.org" ] }
Hi... The settings aren't implemented yet. Please come back later. (When the software updates, preferably.) In the meantime, if you need to change repositories, please modify the config.json file in the /apps/libreshop directory.
24 changes: 17 additions & 7 deletions data/create_acknowledgements
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
#!/bin/bash

cd "$(dirname "$0")"
export "LINE=============================================================================="

read -d "" acknowledgements << EOF
Hello!!!!!!!!!
Very epic settings text that was wrapped
# ========================================================================= #
IFS= read -d "" acknowledgements << EOF
Hi... The settings aren't implemented yet. Please come back later.
(When the software updates, preferably.)
In the meantime, if you need to change repositories, please modify
the config.json file in the /apps/libreshop directory.
EOF

for i in 1 2 3 4 5; do
export "acknowledgements+=
$(< default_config.json)"
done
#export "acknowledgements+=
#
#appended"

# wrap it for the Wii
echo -n > acknowledgements.json
echo "acknowledgements.json"
echo "+-----------------------------------------------------------------------------+"
while IFS= read -r p; do
printf "|%-77s|\n" "${p}"
printf "%-77s" "${p}" >> acknowledgements.json
done <<< "${acknowledgements}"
echo "+-----------------------------------------------------------------------------+"

0 comments on commit 30b258a

Please sign in to comment.