diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 8faf587ff..b198ab3b3 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -2889,6 +2889,7 @@ def _patch_legacy_php_versions(app_folder): files_to_patch = [] files_to_patch.extend(glob.glob("%s/conf/*" % app_folder)) files_to_patch.extend(glob.glob("%s/scripts/*" % app_folder)) + files_to_patch.extend(glob.glob("%s/scripts/*/*" % app_folder)) files_to_patch.extend(glob.glob("%s/scripts/.*" % app_folder)) files_to_patch.append("%s/manifest.json" % app_folder) files_to_patch.append("%s/manifest.toml" % app_folder)