Skip to content

Commit d474e15

Browse files
committed
Temporary fix for ondrej php purging issue
1 parent 4bdc856 commit d474e15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ee/cli/plugins/stack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2595,7 +2595,7 @@ def remove(self):
25952595
Log.info(self, "Successfully removed packages")
25962596

25972597
if self.app.pargs.php7:
2598-
if not EEAptGet.is_installed(self, 'php5.6-fpm'):
2598+
if EEAptGet.is_installed(self, 'php5.6-fpm'):
25992599
Log.info(self, "PHP5.6-fpm found on system.")
26002600
Log.info(self, "Verifying and installing missing packages,")
26012601
EEShellExec.cmd_exec(self, "apt-get install -y php-memcached php-igbinary")
@@ -2764,7 +2764,7 @@ def purge(self):
27642764
Log.info(self, "Successfully purged packages")
27652765

27662766
if self.app.pargs.php7:
2767-
if not EEAptGet.is_installed(self, 'php5.6-fpm'):
2767+
if EEAptGet.is_installed(self, 'php5.6-fpm'):
27682768
Log.info(self, "PHP5.6-fpm found on system.")
27692769
Log.info(self, "Verifying and installing missing packages,")
27702770
EEShellExec.cmd_exec(self, "apt-get install -y php-memcached php-igbinary")

0 commit comments

Comments
 (0)