1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00

Fix removing old man page

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König 2024-09-30 21:10:33 +02:00
parent c0e39087bc
commit ada7d2bd31
No known key found for this signature in database

View File

@ -1230,8 +1230,8 @@ install_manpage() {
if [[ -f "/usr/local/share/man/man5/pihole-FTL.conf.5" ]]; then
rm /usr/local/share/man/man5/pihole-FTL.conf.5
fi
if [[ -f "/usr/local/share/man/man5/pihole-FTL.8" ]]; then
rm /usr/local/share/man/man5/pihole-FTL.8
if [[ -f "/usr/local/share/man/man8/pihole-FTL.8" ]]; then
rm /usr/local/share/man/man8/pihole-FTL.8
fi
if mandb -q &>/dev/null; then