From 91b14e1dc77281766d4ad09676e49132e8ab1dec Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 20 May 2024 11:37:48 +0200 Subject: [PATCH] (Forgot to update comment) --- package_linter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package_linter.py b/package_linter.py index 38a3a4f..1fd51ef 100755 --- a/package_linter.py +++ b/package_linter.py @@ -30,9 +30,9 @@ except Exception: # Helper list # ############################################################################ -# Generated April 11th using: -# cat /path/to/yunohost/data/helpers.d/* | grep "^ynh_" | tr -d '(){ ' > helperlist -# for HELPER in $(cat helperlist); do REQUIRE=$(grep -whB5 "^$HELPER" /path/to/yunohost/data/helpers.d/* | grep "Requires .* or higher\." | grep -o -E "[0-9].[0-9].[0-9]"); echo "'$HELPER': '$REQUIRE'",; done | tr "'" '"' +# Generated May 20 2024 using: +# cat /path/to/yunohost/data/helpers.d/* | grep "^ynh_" | tr -d '(){ ' > helperlist 2>/dev/null +# for HELPER in $(cat helperlist); do REQUIRE=$(grep -whB5 "^$HELPER" /path/to/yunohost/data/helpers.d/* 2>/dev/null | grep "Requires .* or higher\." | grep -o -E "[0-9].[0-9].[0-9]"); echo "'$HELPER': '$REQUIRE'",; done | tr "'" '"' official_helpers = { "ynh_install_apps": "",