fix(): composer command for download package
parent
59d39362de
commit
e124204955
|
@ -80,9 +80,10 @@ if [ -e '/flarum/app/public/assets/installed.txt' ]; 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 < "$LIST_FILE"
|
done < /flarum/app/extensions/list
|
||||||
COMPOSER_CACHE_DIR="$CACHE_DIR" su-exec $UID:$GID composer require "$extension"
|
command="composer require $extension"
|
||||||
echo "[INFO] Install extra bundled extensions. DONE."
|
COMPOSER_CACHE_DIR="$CACHE_DIR" su-exec $UID:$GID $command
|
||||||
|
echo "[INFO] Install extra bundled extensions: DONE."
|
||||||
else
|
else
|
||||||
echo "[INFO] No installed extensions"
|
echo "[INFO] No installed extensions"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue