From ada7d2bd31d36e5266d0a28e3773bccb13aac844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Mon, 30 Sep 2024 21:10:33 +0200 Subject: [PATCH] Fix removing old man page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- automated install/basic-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 9428b05a..ca81b6be 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -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