Remove previous fix for php-fpm
This commit is contained in:
@@ -209,18 +209,9 @@ class WOStackUpgradeController(CementBaseController):
|
|||||||
if ["php7.2-fpm"] in apt_packages:
|
if ["php7.2-fpm"] in apt_packages:
|
||||||
WOAptGet.remove(self, ['php7.2-fpm'],
|
WOAptGet.remove(self, ['php7.2-fpm'],
|
||||||
auto=False, purge=True)
|
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:
|
if ["php7.3-fpm"] in apt_packages:
|
||||||
WOAptGet.remove(self, ['php7.3-fpm'],
|
WOAptGet.remove(self, ['php7.3-fpm'],
|
||||||
auto=False, purge=True)
|
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
|
# check if nginx upgrade is blocked
|
||||||
if os.path.isfile(
|
if os.path.isfile(
|
||||||
'/etc/apt/preferences.d/nginx-block'):
|
'/etc/apt/preferences.d/nginx-block'):
|
||||||
|
|||||||
Reference in New Issue
Block a user