fix(): composer cmd

pull/43/head
Magicalex 2018-12-26 21:48:40 +01:00
parent 123ec01df7
commit b0cdf212fc
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ if [ -e '/flarum/app/public/assets/installed.txt' ]; then
while read line; do while read line; do
extension="${extension} ${line}" extension="${extension} ${line}"
done < /flarum/app/extensions/list done < /flarum/app/extensions/list
command="require ${extension}" composer="composer require ${extension}"
COMPOSER_CACHE_DIR="${CACHE_DIR}" composer "${command}" COMPOSER_CACHE_DIR="${CACHE_DIR}" "${composer}"
echo "[INFO] Install extra bundled extensions: DONE." echo "[INFO] Install extra bundled extensions: DONE."
else else
echo "[INFO] No installed extensions" echo "[INFO] No installed extensions"