mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Do not display the content of the page each time the test is performed otherwise we end up having to scroll and scroll and scroll...
This commit is contained in:
parent
f66ee51338
commit
aad0f10290
1 changed files with 2 additions and 2 deletions
|
@ -342,9 +342,9 @@ CHECK_URL () {
|
|||
fi
|
||||
|
||||
# Print the first 20 lines of the page
|
||||
ECHO_FORMAT "Extract of the page:\n" "white"
|
||||
ECHO_FORMAT "Extract of the page:\n" "white" >> "$test_result"
|
||||
echo -en "\e[37m" # Write in 'light grey'
|
||||
lynx -dump -force_html "$script_dir/url_output" | head --lines 20 | tee --append "$test_result"
|
||||
lynx -dump -force_html "$script_dir/url_output" | head --lines 20 >> "$test_result"
|
||||
echo -e "\e[0m"
|
||||
|
||||
if [ $show_resources -eq 1 ]
|
||||
|
|
Loading…
Add table
Reference in a new issue