Magicalex 2018-12-26 22:54:01 +01:00
parent b0cdf212fc
commit f024b57bbf
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
1 changed files with 3 additions and 3 deletions

View File

@ -91,10 +91,10 @@ if [ -e '/flarum/app/public/assets/installed.txt' ]; then
if [ -s "${LIST_FILE}" ]; then if [ -s "${LIST_FILE}" ]; then
echo "[INFO] Install extra bundled extensions" echo "[INFO] Install extra bundled extensions"
while read line; do while read line; do
extension="${extension} ${line}" extension="${extension}${line} "
done < /flarum/app/extensions/list done < /flarum/app/extensions/list
composer="composer require ${extension}" cmd="composer require ${extension}"
COMPOSER_CACHE_DIR="${CACHE_DIR}" "${composer}" COMPOSER_CACHE_DIR="${CACHE_DIR}" eval $cmd
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"