-echo "Checking the link to the Optirrig user manual..."
-|
if curl --output /dev/null --silent --head --fail "https://optirrigdev.pages.mia.inra.fr/OptirrigManual/reports/Advanced_Parametrization_of_the_Optirrig_for_Sugar_Beet_Cases/index.html"; then
if curl --output /dev/null --silent --head --fail "https://optirrigdev.pages.mia.inra.fr/optirrigDOCS/reports/Advanced_Parametrization_of_the_Optirrig_for_Sugar_Beet_Cases/index.html
";then
echo"The link is alive! The user manual is accessible."
else
echo "Alert! The link is dead or inaccessible. Please check the user manual."
...
...
@@ -66,7 +67,7 @@ usrmanual:
fi
- echo "Checking and downloading the Optirrig user manual PDF..."
- |
if curl --output report.pdf --silent --fail "https://optirrigdev.pages.mia.inra.fr/OptirrigManual/reports/Advanced_Parametrization_of_the_Optirrig_for_Sugar_Beet_Cases/report.pdf"; then
if curl --output report.pdf --silent --fail "https://optirrigdev.pages.mia.inra.fr/optirrigDOCS/reports/Advanced_Parametrization_of_the_Optirrig_for_Sugar_Beet_Cases/report.pdf"; then
echo "The user manual PDF has been successfully downloaded."
else
echo "Downloading the PDF has failed. Is the file present?"