From f617287eb2e74103ef4f54dfe3d52a810e51514e Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Fri, 5 May 2023 23:58:30 +0000 Subject: [PATCH] woops thanks codeql i guess --- src/migrations/0027_migrate_to_bookworm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/migrations/0027_migrate_to_bookworm.py b/src/migrations/0027_migrate_to_bookworm.py index ef5510db3..85e2235af 100644 --- a/src/migrations/0027_migrate_to_bookworm.py +++ b/src/migrations/0027_migrate_to_bookworm.py @@ -267,7 +267,7 @@ class MyMigration(Migration): cmd = ( "apt show '*-ynh-deps' 2>/dev/null" " | grep Depends" - f" | grep -o -E \"php7.4-({'|'.join(php73packages_suffixes)})\"" + f" | grep -o -E \"php7.4-({'|'.join(php74packages_suffixes)})\"" " | sort | uniq" " | sed 's/php7.4/php8.2/g'" " || true" @@ -284,7 +284,7 @@ class MyMigration(Migration): "php-php-gettext", ] - php74packages_to_install = basephp74packages_to_install + [ + php74packages_to_install = basephp82packages_to_install + [ f.strip() for f in check_output(cmd).split("\n") if f.strip() ]