Skip to content

Commit

Permalink
Remove pihole-FTL.conf man page
Browse files Browse the repository at this point in the history
Signed-off-by: Christian König <[email protected]>

Remove double https://

Signed-off-by: Christian König <[email protected]>
  • Loading branch information
yubiuser committed Feb 4, 2022
1 parent ee9f485 commit 7c60ee8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 316 deletions.
9 changes: 7 additions & 2 deletions automated install/basic-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1371,15 +1371,20 @@ install_manpage() {
# Testing complete, copy the files & update the man db
install -D -m 644 -T ${PI_HOLE_LOCAL_REPO}/manpages/pihole.8 /usr/local/share/man/man8/pihole.8
install -D -m 644 -T ${PI_HOLE_LOCAL_REPO}/manpages/pihole-FTL.8 /usr/local/share/man/man8/pihole-FTL.8
install -D -m 644 -T ${PI_HOLE_LOCAL_REPO}/manpages/pihole-FTL.conf.5 /usr/local/share/man/man5/pihole-FTL.conf.5

# remvoe previously installed "pihole-FTL.conf" man page
if [[ -f "/usr/local/share/man/man5/pihole-FTL.conf.5" ]]; then
rm /usr/local/share/man/man5/pihole-FTL.conf.5
fi

if mandb -q &>/dev/null; then
# Updated successfully
printf "%b %b man pages installed and database updated\\n" "${OVER}" "${TICK}"
return
else
# Something is wrong with the system's man installation, clean up
# our files, (leave everything how we found it).
rm /usr/local/share/man/man8/pihole.8 /usr/local/share/man/man8/pihole-FTL.8 /usr/local/share/man/man5/pihole-FTL.conf.5
rm /usr/local/share/man/man8/pihole.8 /usr/local/share/man/man8/pihole-FTL.8
printf "%b %b man page db not updated, man pages not installed\\n" "${OVER}" "${CROSS}"
fi
}
Expand Down
4 changes: 3 additions & 1 deletion manpages/pihole-FTL.8
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ Command line arguments can be arbitrarily combined, e.g:
Start ftl in foreground with more verbose logging, process everything and shutdown immediately
.br
.SH "SEE ALSO"
\fBpihole\fR(8), \fBpihole-FTL.conf\fR(5)
\fBpihole\fR(8)
.br
\fBFor FTL's config options please see https://docs.pi-hole.net/ftldns/configfile/\fR
.br
.SH "COLOPHON"

Expand Down
313 changes: 0 additions & 313 deletions manpages/pihole-FTL.conf.5

This file was deleted.

0 comments on commit 7c60ee8

Please sign in to comment.