From b6e26ac4791ce1e2a374b4622481610db75cc287 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Fri, 22 Jun 2018 16:55:52 +0300 Subject: [PATCH] Fixed mysql-server package replacement --- install/vst-install-rhel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/vst-install-rhel.sh b/install/vst-install-rhel.sh index 473332eda..e529ff655 100755 --- a/install/vst-install-rhel.sh +++ b/install/vst-install-rhel.sh @@ -32,7 +32,7 @@ software="awstats bc bind bind-libs bind-utils clamav-server clamav-update # Fix for old releases if [ "$release" -lt 7 ]; then - software=$(echo "$software" |sed -e "s/mariadb/mysql/") + software=$(echo "$software" |sed -e "s/mariadb/mysql/g") software=$(echo "$software" |sed -e "s/clamav-server/clamd/") software=$(echo "$software" |sed -e "s/clamav-update//") software=$(echo "$software" |sed -e "s/iptables-services//") @@ -956,7 +956,7 @@ if [ -z "$ZONE" ]; then ZONE='UTC' fi for pconf in $(find /etc/php* -name php.ini); do - sed -i "s/;date.timezone =/date.timezone = $ZONE/g" $pconf + sed -i "s|;date.timezone =|date.timezone = $ZONE|g" $pconf sed -i 's%_open_tag = Off%_open_tag = On%g' $pconf done