mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
Description of function install_and_activate_extension
This commit is contained in:
parent
cc5f479f31
commit
3a1978e96d
1 changed files with 4 additions and 2 deletions
|
@ -47,8 +47,10 @@ init_composer() {
|
|||
# || ynh_die "Unable to update core dependencies with Composer"
|
||||
}
|
||||
|
||||
# Install and initialize Composer in the given directory
|
||||
# usage: init_composer destdir
|
||||
# Install extension, and activate it in database
|
||||
# usage: install_and_activate_extension $user $final_path $db_name $extension $short_extension
|
||||
# $extension is the "vendor/extension-name" string from packagist
|
||||
# $short_extension is the extension name written in database, how it is shortened is still a mystery
|
||||
install_and_activate_extension() {
|
||||
local AS_USER=$1
|
||||
local WORKDIR=$2
|
||||
|
|
Loading…
Reference in a new issue