From f80faf46699aa53ae60e22c107c8747aa798d88b Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Tue, 7 May 2019 00:43:29 +0200 Subject: [PATCH] Allow level 8 for request_help tag --- package_check.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package_check.sh b/package_check.sh index a2cdb81..78ebb6d 100755 --- a/package_check.sh +++ b/package_check.sh @@ -730,8 +730,13 @@ TEST_RESULTS () { # Get maintained tag for this app. maintained=$(echo "$json_app_part" | grep maintained | awk '{print $2}') # If maintained isn't empty or at true. This app can't be tag as a High Quality app. - if [ "${maintained//,/}" != "true" ] && [ -n "$maintained" ] + # An app tagged as 'request_help' can still be High Quality, but not an app tagged as 'request_adoption' + if [ "${maintained//,/}" != "true" ] && [ "${maintained//[,\"]/}" != "request_help" ] && [ -n "$maintained" ] then + if [ ${level[8]} -ge 1 ] + then + echo "As this app isn't maintained, it can't reach the level 8." + fi level[8]=0 fi fi