From a813e8c2aaf57f4b3e0a9c73929be43949e8ecac Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 4 Oct 2020 09:58:12 +0200 Subject: [PATCH] Small typos --- scripts/change_url | 2 +- scripts/install | 2 +- scripts/remove | 4 ++-- scripts/restore | 4 ++-- scripts/upgrade | 5 ++--- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 58c7fa5..dd32bb0 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -89,4 +89,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for $app" --last +ynh_script_progression --message="Change of URL completed for phpMyAdmin" --last diff --git a/scripts/install b/scripts/install index 3ce2385..deb7975 100644 --- a/scripts/install +++ b/scripts/install @@ -178,4 +178,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of $app completed" --last +ynh_script_progression --message="Installation of phpMyAdmin completed" --last diff --git a/scripts/remove b/scripts/remove index 181cf59..47fc652 100644 --- a/scripts/remove +++ b/scripts/remove @@ -37,7 +37,7 @@ ynh_mysql_drop_user $db_admin_user #================================================= # REMOVE APP MAIN DIR #================================================= -ynh_script_progression --message="Removing app main directory" +ynh_script_progression --message="Removing phpMyAdmin main directory" # Remove the app directory securely ynh_secure_remove --file="$final_path" @@ -72,4 +72,4 @@ ynh_system_user_delete --username=$app # END OF SCRIPT #================================================= -ynh_script_progression --message="Removal of $app completed" --last +ynh_script_progression --message="Removal of phpMyAdmin completed" --last diff --git a/scripts/restore b/scripts/restore index fe8363f..6ee3164 100644 --- a/scripts/restore +++ b/scripts/restore @@ -50,7 +50,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring the app main directory..." +ynh_script_progression --message="Restoring phpMyAdmin main directory..." ynh_restore_file --origin_path="$final_path" @@ -116,4 +116,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" --last +ynh_script_progression --message="Restoration completed for phpMyAdmin" --last diff --git a/scripts/upgrade b/scripts/upgrade index 8b2a4d2..d89e35c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -74,7 +74,7 @@ fi #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=15 +ynh_script_progression --message="Backing up phpMyAdmin before upgrading (may take a while)..." --weight=15 # Backup the current version of the app ynh_backup_before_upgrade @@ -191,7 +191,6 @@ chmod 640 $final_path/config.inc.php mkdir -p $final_path/tmp chown -R $app: $final_path/tmp - #================================================= # INSTALL DEPENDENCIES #================================================= @@ -226,4 +225,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of $app completed" --last +ynh_script_progression --message="Upgrade of phpMyAdmin completed" --last