Преглед на файлове

remove bash_profile.sh and update install.sh for phreeze

Lita Gratrix преди 10 години
родител
ревизия
47fcb2bead
променени са 2 файла, в които са добавени 3 реда и са изтрити 6 реда
  1. 2 3
      frameworks/PHP/phreeze/install.sh
  2. 1 3
      frameworks/PHP/phreeze/setup.sh

+ 2 - 3
frameworks/PHP/phreeze/install.sh

@@ -1,13 +1,12 @@
 #!/bin/bash
 
 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 $IROOT/composer.phar install \
+${PHP_HOME}/bin/php $COMPOSER_HOME/composer.phar install \
   --no-interaction --working-dir $TROOT \
   --no-progress --optimize-autoloader 

+ 1 - 3
frameworks/PHP/phreeze/setup.sh

@@ -1,9 +1,7 @@
 #!/bin/bash
-
 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
 
 sed -i 's|localhost:3306|'"${DBHOST}"':3306|g' index.php