From 7c041df7e407ed542229ece1608008dc8f19cc73 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 14 Jan 2024 19:16:44 +0100 Subject: [PATCH] Update upgrade: php5, ew --- scripts/upgrade | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 6d754e5..608712b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -41,9 +41,7 @@ ynh_add_fpm_config #================================================= ynh_script_progression --message="Cleaning php sessions stored..." --weight=1 -if [ -d "/usr/lib/php5" ]; then - [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean -elif [ -d "/usr/lib/php" ]; then +if [ -d "/usr/lib/php" ]; then [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean fi