diff --git a/src/freedombone-app-akaunting b/src/freedombone-app-akaunting index 0832c8e8..3147815c 100755 --- a/src/freedombone-app-akaunting +++ b/src/freedombone-app-akaunting @@ -311,6 +311,9 @@ function install_akaunting { chmod g+w /var/www/$AKAUNTING_DOMAIN_NAME/htdocs chown -R www-data:www-data /var/www/$AKAUNTING_DOMAIN_NAME/htdocs + cd /var/www/$AKAUNTING_DOMAIN_NAME/htdocs + install_composer + function_check akaunting_create_database akaunting_create_database diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index baea51a0..1aa1deea 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -976,6 +976,9 @@ function install_composer { cat /home/$MY_USERNAME/${PROJECT_NAME}/image_build/composer_install | php fi fi + if [ -f composer.phar ]; then + cp composer.phar composer + fi php composer.phar install if [ ! "$?" = "0" ]; then echo $'Unable to run composer install'