mirror of
https://github.com/YunoHost-Apps/tiki_ynh.git
synced 2024-09-04 01:15:54 +02:00
Update install
This commit is contained in:
parent
cdf7c05a21
commit
60eef99961
1 changed files with 2 additions and 2 deletions
|
@ -121,6 +121,7 @@ chown -R $app:www-data "$datadir"
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD INITIAL CONFIGURATION
|
# ADD INITIAL CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
ynh_script_progression --message="Configuring $app..." --weight=3
|
||||||
|
|
||||||
# Define a function to execute commands with proper permissions
|
# Define a function to execute commands with proper permissions
|
||||||
exec_as_app() {
|
exec_as_app() {
|
||||||
|
@ -128,8 +129,7 @@ exec_as_app() {
|
||||||
php${phpversion} --define apc.enable_cli=1 "$@")
|
php${phpversion} --define apc.enable_cli=1 "$@")
|
||||||
}
|
}
|
||||||
|
|
||||||
ynh_script_progression --message="Configuring $app..." --weight=1
|
# Create database configuration file
|
||||||
|
|
||||||
exec_as_app console.php database:configure "$app" "$db_pwd" "$app"
|
exec_as_app console.php database:configure "$app" "$db_pwd" "$app"
|
||||||
|
|
||||||
# Create database contents
|
# Create database contents
|
||||||
|
|
Loading…
Reference in a new issue