Browse Source

remove bash_profile.sh and update install.sh for php-silica. Tests
continue to fail

Lita Gratrix 10 years ago
parent
commit
b2832401ef
2 changed files with 10 additions and 10 deletions
  1. 10 1
      frameworks/PHP/php-pimf/install.sh
  2. 0 9
      frameworks/PHP/symfony2/bash_profile.sh

+ 10 - 1
frameworks/PHP/php-pimf/install.sh

@@ -1,3 +1,12 @@
 #!/bin/bash
 
-fw_depends php composer nginx
+export PHP_HOME=${IROOT}/php-5.5.17
+export COMPOSER_HOME=${IROOT}/php-composer
+export PHP_FPM=${PHP_HOME}/sbin/php-fpm
+export NGINX_HOME=${IROOT}/nginx
+
+fw_depends php nginx composer
+
+${PHP_HOME}/bin/php ${COMPOSER_HOME}/composer.phar install \
+  --no-interaction --working-dir $TROOT \
+  --no-progress --optimize-autoloader 

+ 0 - 9
frameworks/PHP/symfony2/bash_profile.sh

@@ -1,9 +0,0 @@
-#!/bin/bash
-
-export PHP_HOME=${IROOT}/php-5.5.17
-
-export PHP_FPM=$PHP_HOME/sbin/php-fpm
-
-export COMPOSER_HOME=${IROOT}/php-composer
-
-export NGINX_HOME=${IROOT}/nginx