mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Avoid php patching if Deb9 and Apache=no
This commit is contained in:
parent
138c0e3729
commit
65625ce990
1 changed files with 13 additions and 11 deletions
|
@ -1531,6 +1531,7 @@ touch /var/log/php-mail.log
|
||||||
chmod a=rw /var/log/php-mail.log
|
chmod a=rw /var/log/php-mail.log
|
||||||
|
|
||||||
if [ "$release" -eq 9 ]; then
|
if [ "$release" -eq 9 ]; then
|
||||||
|
if [ "$apache" = 'yes' ]; then
|
||||||
if [ $memory -lt 10000000 ]; then
|
if [ $memory -lt 10000000 ]; then
|
||||||
echo "=== Patching php7.0-vps"
|
echo "=== Patching php7.0-vps"
|
||||||
mkdir -p /root/vesta-temp-dl/vesta/patch
|
mkdir -p /root/vesta-temp-dl/vesta/patch
|
||||||
|
@ -1544,6 +1545,7 @@ if [ "$release" -eq 9 ]; then
|
||||||
patch -p1 --directory=/ < /root/vesta-temp-dl/vesta/patch/php7.0-dedi.patch
|
patch -p1 --directory=/ < /root/vesta-temp-dl/vesta/patch/php7.0-dedi.patch
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
if [ "$release" -eq 10 ]; then
|
if [ "$release" -eq 10 ]; then
|
||||||
if [ $memory -lt 10000000 ]; then
|
if [ $memory -lt 10000000 ]; then
|
||||||
echo "=== Patching php7.3-vps"
|
echo "=== Patching php7.3-vps"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue