1
0
Fork 0
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:
Éric Gaspar 2023-03-01 15:17:18 +01:00
parent cdf7c05a21
commit 60eef99961

View file

@ -121,6 +121,7 @@ chown -R $app:www-data "$datadir"
#=================================================
# ADD INITIAL CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring $app..." --weight=3
# Define a function to execute commands with proper permissions
exec_as_app() {
@ -128,8 +129,7 @@ exec_as_app() {
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"
# Create database contents