From 4f6997982e566baf0b97f61760d28f4727a15676 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Fri, 19 Dec 2014 14:24:39 +0530 Subject: [PATCH] Added remove and purge for PMA --- ee/cli/plugins/stack.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 26e1afc7..51827c02 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -243,6 +243,8 @@ class EEStackController(CementBaseController): apt_packages = apt_packages + EEVariables.ee_postfix if self.app.pargs.wpcli: packages = packages + ['/usr/bin/wp'] + if self.app.pargs.phpmyadmin: + packages = packages + ['/var/www/22222/htdocs/db/pma'] if len(apt_packages): pkg.remove(apt_packages) @@ -274,6 +276,8 @@ class EEStackController(CementBaseController): apt_packages = apt_packages + EEVariables.ee_postfix if self.app.pargs.wpcli: packages = packages + ['/usr/bin/wp'] + if self.app.pargs.phpmyadmin: + packages = packages + ['/var/www/22222/htdocs/db/pma'] if len(apt_packages): pkg.purge(apt_packages)