From aef6e3fdd666c6a16e0db76c041fa92359ccdada Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Tue, 27 Aug 2024 15:10:43 +0200 Subject: [PATCH] Update INSTALL.sh --- INSTALL.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/INSTALL.sh b/INSTALL.sh index c5c4aa18..b3187b1c 100644 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -809,7 +809,14 @@ setup_firewall_service() { #perl /usr/local/csf/bin/csftest.pl echo "Setting CSF auto-login from OpenAdmin interface.." if [ "$PACKAGE_MANAGER" == "dnf" ]; then - debug_log dnf install -y wget curl unzip yum-utils policycoreutils-python-utils + debug_log dnf install -y wget curl unzip yum-utils policycoreutils-python-utils libwww-perl + # fixes bug when starting csf: Can't locate locale.pm in @INC (you may need to install the locale module) + if [ -f /etc/fedora-release ]; then + debug_log yum --allowerasing install perl -y + fi + + + elif [ "$PACKAGE_MANAGER" == "apt-get" ]; then debug_log apt-get install -y perl libwww-perl libgd-dev libgd-perl libgd-graph-perl fi