Several fixes

This commit is contained in:
VirtuBox
2019-09-01 13:59:27 +02:00
parent b8623f0e32
commit e0e2ab21c0
4 changed files with 98 additions and 82 deletions

View File

@@ -312,6 +312,9 @@ class WOStackController(CementBaseController):
# Composer
if pargs.composer:
if ((not WOAptGet.is_installed(self, 'php7.2-fpm')) and
(not WOAptGet.is_installed(self, 'php7.3-fpm'))):
pargs.php = True
if not os.path.isfile('/usr/local/bin/composer'):
Log.debug(self, "Setting packages variable for Composer ")
packages = packages + [["https://getcomposer.org/"