mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Add verbose title for each level
This commit is contained in:
parent
087dc849fd
commit
b1beb0c1bd
1 changed files with 6 additions and 1 deletions
|
@ -230,6 +230,9 @@ rm "$script_dir/pcheck.lock"
|
||||||
exec "$script_dir/package_check.sh" "$arguments"
|
exec "$script_dir/package_check.sh" "$arguments"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Get the last version of app_levels/en.json
|
||||||
|
wget -nv https://raw.githubusercontent.com/YunoHost/apps/master/app_levels/en.json -O "$script_dir/levels.json"
|
||||||
|
|
||||||
# Give the execution right
|
# Give the execution right
|
||||||
chmod +x "$script_dir/upgrade_script.sh"
|
chmod +x "$script_dir/upgrade_script.sh"
|
||||||
|
|
||||||
|
@ -694,7 +697,9 @@ TEST_RESULTS () {
|
||||||
|
|
||||||
# Then, print the levels
|
# Then, print the levels
|
||||||
# Print the global level
|
# Print the global level
|
||||||
ECHO_FORMAT "Level of this application: $global_level\n" "white" "bold"
|
verbose_level=$(grep applevel_$global_level\" "$script_dir/levels.json" | cut -d'"' -f4)
|
||||||
|
|
||||||
|
ECHO_FORMAT "Level of this application: $global_level ($verbose_level)\n" "white" "bold"
|
||||||
|
|
||||||
# And print the value for each level
|
# And print the value for each level
|
||||||
for i in `seq 1 10`
|
for i in `seq 1 10`
|
||||||
|
|
Loading…
Add table
Reference in a new issue