mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
aef6e3fdd6
commit
22a8f4e1a8
@ -809,7 +809,14 @@ setup_firewall_service() {
|
|||||||
#perl /usr/local/csf/bin/csftest.pl
|
#perl /usr/local/csf/bin/csftest.pl
|
||||||
echo "Setting CSF auto-login from OpenAdmin interface.."
|
echo "Setting CSF auto-login from OpenAdmin interface.."
|
||||||
if [ "$PACKAGE_MANAGER" == "dnf" ]; then
|
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
|
elif [ "$PACKAGE_MANAGER" == "apt-get" ]; then
|
||||||
debug_log apt-get install -y perl libwww-perl libgd-dev libgd-perl libgd-graph-perl
|
debug_log apt-get install -y perl libwww-perl libgd-dev libgd-perl libgd-graph-perl
|
||||||
fi
|
fi
|
||||||
@ -1366,7 +1373,7 @@ download_skeleton_directory_from_github(){
|
|||||||
systemctl enable floatingip > /dev/null 2>&1
|
systemctl enable floatingip > /dev/null 2>&1
|
||||||
|
|
||||||
if [ -f "${ETC_DIR}openpanel/conf/openpanel.config" ]; then
|
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
|
else
|
||||||
radovan 1 "Dowloading configuration files from GitHub failed, main conf file ${ETC_DIR}openpanel/conf/openpanel.config is missing."
|
radovan 1 "Dowloading configuration files from GitHub failed, main conf file ${ETC_DIR}openpanel/conf/openpanel.config is missing."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user