diff options
author | Nikolaos Perrakis <nikperrakis@gmail.com> | 2018-07-23 03:09:57 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-07-23 03:19:23 +0300 |
commit | 965716d82a25f237b8b4c59f2a2a746f39ef70f7 (patch) | |
tree | c2ad9e67e3050dc0eeb6d244c9a66fadf6b20268 | |
parent | d3f5f5df358570b6a92c8586bf8292b14195bffa (diff) |
Fixes #566 Remove redundant opcache configuration (#572)v0.57.21
-rwxr-xr-x | update.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -289,6 +289,10 @@ EOF install_script nc-backup.sh cd - &>/dev/null + # remove redundant opcache configuration. Leave until update bug is fixed -> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815968 + [[ "$( ls -l /etc/php/7.0/fpm/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.0/fpm/conf.d/*-opcache.ini | tail -1 )" + [[ "$( ls -l /etc/php/7.0/cli/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.0/cli/conf.d/*-opcache.ini | tail -1 )" + } # end - only live updates exit 0 |