Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-08-27 15:11:19 +02:00 committed by GitHub
parent aef6e3fdd6
commit 22a8f4e1a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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