1
0
Fork 0
mirror of https://github.com/pi-hole/pi-hole.git synced 2025-04-05 23:20:17 +00:00

Fix removing old man page ()

This commit is contained in:
yubiuser 2024-10-01 05:57:19 +02:00 committed by GitHub
commit ba058be236
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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