diff --git a/scripts/change_url b/scripts/change_url index 714b39d..e0595d9 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -35,7 +35,7 @@ ynh_script_progression --message="Updating a configuration file..." #domain=$new_domain #path=$new_path -ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env" +ynh_add_config --template=".env.example" --destination="$install_dir/.env" chmod 400 "$install_dir/.env" chown $app:$app "$install_dir/.env" diff --git a/scripts/install b/scripts/install index 6ebd44a..78352b7 100755 --- a/scripts/install +++ b/scripts/install @@ -53,7 +53,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." -ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env" +ynh_add_config --template=".env.example" --destination="$install_dir/.env" chmod 400 "$install_dir/.env" chown $app:$app "$install_dir/.env"