#!/bin/bash

# exit-on-error
set -e

echo "---- testing for broken links ----"
echo

if linkchecker /usr/share/doc/latex2html/html/manual.html
then echo
     echo "---- no broken links ----"
else
    echo
    echo "---- linkchecker exited with an error state ----"
    exit 1
fi
