Skip to content

Commit 4ad7965

Browse files
author
gau1991
committed
Now admin tools are added to default stack
1 parent 9b85798 commit 4ad7965

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ee/cli/plugins/stack.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,8 +1123,9 @@ def install(self, packages=[], apt_packages=[], disp_msg=True):
11231123
(not self.app.pargs.postfix) and (not self.app.pargs.wpcli) and
11241124
(not self.app.pargs.phpmyadmin) and
11251125
(not self.app.pargs.adminer) and (not self.app.pargs.utils) and
1126-
(not self.app.pargs.mailscanner)):
1126+
(not self.app.pargs.mailscanner) and (not self.app.pargs.all)):
11271127
self.app.pargs.web = True
1128+
self.app.pargs.admin = True
11281129

11291130
if self.app.pargs.all:
11301131
self.app.pargs.web = True
@@ -1330,8 +1331,9 @@ def remove(self):
13301331
(not self.app.pargs.postfix) and (not self.app.pargs.wpcli) and
13311332
(not self.app.pargs.phpmyadmin) and
13321333
(not self.app.pargs.adminer) and (not self.app.pargs.utils) and
1333-
(not self.app.pargs.mailscanner)):
1334+
(not self.app.pargs.mailscanner) and (not self.app.pargs.all)):
13341335
self.app.pargs.web = True
1336+
self.app.pargs.admin = True
13351337

13361338
if self.app.pargs.all:
13371339
self.app.pargs.web = True
@@ -1424,8 +1426,9 @@ def purge(self):
14241426
(not self.app.pargs.postfix) and (not self.app.pargs.wpcli) and
14251427
(not self.app.pargs.phpmyadmin) and
14261428
(not self.app.pargs.adminer) and (not self.app.pargs.utils) and
1427-
(not self.app.pargs.mailscanner)):
1429+
(not self.app.pargs.mailscanner) and (not self.app.pargs.all)):
14281430
self.app.pargs.web = True
1431+
self.app.pargs.admin = True
14291432

14301433
if self.app.pargs.all:
14311434
self.app.pargs.web = True

0 commit comments

Comments
 (0)