1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/webtrees_ynh.git synced 2024-09-03 18:26:37 +02:00
This commit is contained in:
Éric Gaspar 2024-07-01 21:43:09 +02:00
parent c06cf4d7db
commit efbf4f216a
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ chown -R "$app:www-data" "$install_dir"
#================================================= #=================================================
# APP INITIAL CONFIGURATION # APP INITIAL CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Adding $app's configuration files..." --weight=1 ynh_script_progression "Adding $app's configuration files..."
# Adding the details of the database to the config file # Adding the details of the database to the config file
ynh_config_add --template="config.ini.php" --destination="$install_dir/data/config.ini.php" ynh_config_add --template="config.ini.php" --destination="$install_dir/data/config.ini.php"
@ -46,7 +46,7 @@ ynh_secure_remove --file="$install_dir/admin.sql"
#================================================= #=================================================
# SYSTEM CONFIGURATION # SYSTEM CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 ynh_script_progression "Adding system configurations related to $app..."
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_config_add_nginx ynh_config_add_nginx

View file

@ -6,7 +6,7 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
# ENSURE DOWNWARD COMPATIBILITY # ENSURE DOWNWARD COMPATIBILITY
#================================================= #=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 ynh_script_progression "Ensuring downward compatibility..."
# Migrate manifest questions # Migrate manifest questions
if [ -z "${admin_username:-}" ]; then if [ -z "${admin_username:-}" ]; then