From 07332b0ca11e88627e182ede56e453a6da31e018 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 27 May 2022 23:17:20 +0200 Subject: [PATCH] Upgrade to 7.4 --- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/backup | 2 +- scripts/change_url | 2 +- scripts/install | 2 +- scripts/remove | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/manifest.json b/manifest.json index 20a935f..31e1196 100644 --- a/manifest.json +++ b/manifest.json @@ -34,7 +34,7 @@ "multi_instance": true, "services": [ "nginx", - "php7.3-fpm", + "php7.4-fpm", "mysql" ], "arguments": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 6eb3532..85d65c3 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -YNH_PHP_VERSION="7.3" +YNH_PHP_VERSION="7.4" pkg_dependencies="php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-opcache php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-mysql" diff --git a/scripts/backup b/scripts/backup index 4ddf7a7..cdeb5d9 100644 --- a/scripts/backup +++ b/scripts/backup @@ -74,4 +74,4 @@ ynh_mysql_dump_db --database="$db_name" > db.sql # END OF SCRIPT #================================================= -ynh_print_info --message="Backup script completed for Kanboard. (YunoHost will then actually copy those files to the archive)." +ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." diff --git a/scripts/change_url b/scripts/change_url index 6d24ff0..32a4874 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -127,4 +127,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for Kanboard" --last +ynh_script_progression --message="Change of URL completed for $app" --last diff --git a/scripts/install b/scripts/install index e306a83..0ccb23b 100644 --- a/scripts/install +++ b/scripts/install @@ -179,4 +179,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of Kanboard completed" --last +ynh_script_progression --message="Installation of $app completed" --last diff --git a/scripts/remove b/scripts/remove index 2284ff9..9c2ecc8 100644 --- a/scripts/remove +++ b/scripts/remove @@ -99,4 +99,4 @@ ynh_system_user_delete --username=$app # END OF SCRIPT #================================================= -ynh_script_progression --message="Removal of Kanboard completed" --last +ynh_script_progression --message="Removal of $app completed" --last diff --git a/scripts/restore b/scripts/restore index fa63911..c40700f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -124,4 +124,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for Kanboard" --last +ynh_script_progression --message="Restoration completed for $app" --last diff --git a/scripts/upgrade b/scripts/upgrade index 676f89d..4d104c9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -179,4 +179,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of Kanboard completed" --last +ynh_script_progression --message="Installation of $app completed" --last