From d64e3b623240a2191805f6b688b8d7e495206d2d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 1 May 2021 09:00:29 +0200 Subject: [PATCH] Fix --- README.md | 2 +- README_fr.md | 2 +- check_process | 1 - scripts/install | 8 +------- scripts/remove | 4 ---- scripts/restore | 4 ++-- 6 files changed, 5 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0f148f5..6463077 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ *[Lire ce readme en français.](./README_fr.md)* > *This package allow you to install MediaWiki quickly and simply on a YunoHost server. -> If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.* +> If you don't have YunoHost, please see [here](https://yunohost.org/install) to know how to install and enjoy it.* ## Overview diff --git a/README_fr.md b/README_fr.md index 6f1ed8b..238318f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -6,7 +6,7 @@ *[Read this readme in english.](./README.md)* > *Ce package vous permet d'installer MediaWiki rapidement et simplement sur un serveur YunoHost. -Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* +Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) pour apprendre comment l'installer.* ## Vue d'ensemble diff --git a/check_process b/check_process index 17a5503..6a9d94f 100644 --- a/check_process +++ b/check_process @@ -19,7 +19,6 @@ upgrade=1 from_commit=1cea793f85ad8251a08adaf852b780bc0a0f9a20 backup_restore=1 multi_instance=1 - incorrect_path=1 change_url=1 ;;; Options Email= diff --git a/scripts/install b/scripts/install index 4b0fc92..1c92e0d 100644 --- a/scripts/install +++ b/scripts/install @@ -98,7 +98,7 @@ ynh_setup_source --dest_dir="$final_path/extensions/" --source_id="pluggable_aut #================================================= # NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Configuring nginx web server..." --weight=1 +ynh_script_progression --message="Configuring NGINX web server..." --weight=1 # Create a dedicated NGINX config ynh_add_nginx_config @@ -120,12 +120,6 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=1 ynh_add_fpm_config phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion) -#================================================= -# SPECIFIC SETUP -#================================================= -# ... -#================================================= - #================================================= # RUN INSTALLATION OF MEDIAWIKI #================================================= diff --git a/scripts/remove b/scripts/remove index ca307f2..22588cb 100755 --- a/scripts/remove +++ b/scripts/remove @@ -64,10 +64,6 @@ ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1 # Remove the dedicated PHP-FPM config ynh_remove_fpm_config -#================================================= -# SPECIFIC REMOVE -#================================================= - #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/restore b/scripts/restore index b1442b8..4dfa706 100755 --- a/scripts/restore +++ b/scripts/restore @@ -69,7 +69,7 @@ ynh_system_user_create --username="$app" #================================================= # Restore permissions on app files -chown -R "$app:$app" "$final_path" +chown -R $app:$app "$final_path" #================================================= # RESTORE THE PHP-FPM CONFIGURATION @@ -103,7 +103,7 @@ ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name #================================================= ynh_script_progression --message="Reloading NGINX web server and PHP-FPM..." --weight=1 -ynh_systemd_action --service_name="php$phpversion-fpm" --action=reload +ynh_systemd_action --service_name=php$phpversion-fpm --action=reload ynh_systemd_action --service_name=nginx --action=reload #=================================================