disable debugging: display the manpage again
this was done to debug the call sequence, as the mancall was cluttering -x output
Antoine Beaupré
7 years ago
67 | 67 | trap "rm -rf $mandir" EXIT HUP INT QUIT TERM |
68 | 68 | man="$mandir/$PAGE" |
69 | 69 | if wget -O "$man" "$URL/$DISTRIB_CODENAME/manpages$LOCPATH/$PAGE$LOCDOT.gz" 2>/dev/null; then |
70 | echo man $MAN_ARGS -l "$man" || true | |
70 | man $MAN_ARGS -l "$man" || true | |
71 | 71 | exit 0 |
72 | 72 | fi |
73 | 73 | # try again without locale |
74 | 74 | if [ "$LOCALE" != "" ] && wget -O "$man" "$URL/$DISTRIB_CODENAME/manpages/$PAGE.en.gz" 2>/dev/null; then |
75 | echo man $MAN_ARGS -l "$man" || true | |
75 | man $MAN_ARGS -l "$man" || true | |
76 | 76 | exit 0 |
77 | 77 | fi |