mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
woops thanks codeql i guess
This commit is contained in:
parent
2dbe34c030
commit
f617287eb2
1 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ class MyMigration(Migration):
|
||||||
cmd = (
|
cmd = (
|
||||||
"apt show '*-ynh-deps' 2>/dev/null"
|
"apt show '*-ynh-deps' 2>/dev/null"
|
||||||
" | grep Depends"
|
" | grep Depends"
|
||||||
f" | grep -o -E \"php7.4-({'|'.join(php73packages_suffixes)})\""
|
f" | grep -o -E \"php7.4-({'|'.join(php74packages_suffixes)})\""
|
||||||
" | sort | uniq"
|
" | sort | uniq"
|
||||||
" | sed 's/php7.4/php8.2/g'"
|
" | sed 's/php7.4/php8.2/g'"
|
||||||
" || true"
|
" || true"
|
||||||
|
@ -284,7 +284,7 @@ class MyMigration(Migration):
|
||||||
"php-php-gettext",
|
"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()
|
f.strip() for f in check_output(cmd).split("\n") if f.strip()
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue