Fix removing old man page
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
c0e39087bc
commit
ada7d2bd31
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue