mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Fixed mysql-server package replacement
This commit is contained in:
parent
f4751a4e97
commit
b6e26ac479
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue