Update stack_upgrade

This commit is contained in:
VirtuBox
2019-09-24 19:10:13 +02:00
parent c2683a6f77
commit 6b5cfbacd6
4 changed files with 13 additions and 13 deletions

View File

@@ -209,9 +209,17 @@ class WOStackUpgradeController(CementBaseController):
if ["php7.2-fpm"] in apt_packages:
WOAptGet.remove(self, ['php7.2-fpm'],
auto=False, purge=True)
WOFileUtils.rm(
self, '/etc/php/7.2/fpm/pool.d/www.conf')
WOFileUtils.rm(
self, '/etc/php/7.2/fpm/pool.d/www-two.conf')
if ["php7.3-fpm"] in apt_packages:
WOAptGet.remove(self, ['php7.3-fpm'],
auto=False, purge=True)
WOFileUtils.rm(
self, '/etc/php/7.3/fpm/pool.d/www.conf')
WOFileUtils.rm(
self, '/etc/php/7.3/fpm/pool.d/www-two.conf')
# check if nginx upgrade is blocked
if os.path.isfile(