diff --git a/version/0.2.6/INSTALL.sh b/version/0.2.6/INSTALL.sh index 9e3884cd..dfc5f4d8 100644 --- a/version/0.2.6/INSTALL.sh +++ b/version/0.2.6/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 @@ -1366,7 +1373,7 @@ download_skeleton_directory_from_github(){ systemctl enable floatingip > /dev/null 2>&1 if [ -f "${ETC_DIR}openpanel/conf/openpanel.config" ]; then - echo -e "[${GREEN} OK ${RESET}] Configuration creates successfully." + echo -e "[${GREEN} OK ${RESET}] Configuration created successfully." else radovan 1 "Dowloading configuration files from GitHub failed, main conf file ${ETC_DIR}openpanel/conf/openpanel.config is missing." fi