File: linkchecker

package info (click to toggle)
latex2html 2021-debian1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,796 kB
  • sloc: perl: 33,871; makefile: 437; sh: 22
file content (16 lines) | stat: -rwxr-xr-x 279 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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