mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix level 6 regression
This commit is contained in:
parent
5ddc3dc90c
commit
b691153c8a
1 changed files with 3 additions and 1 deletions
|
@ -673,6 +673,7 @@ TEST_RESULTS () {
|
||||||
# Default value, YEP 1.7 not checked
|
# Default value, YEP 1.7 not checked
|
||||||
YEP17=-1
|
YEP17=-1
|
||||||
YEP17_labriqueinternet=-1
|
YEP17_labriqueinternet=-1
|
||||||
|
YEP17_failed=0
|
||||||
if echo "$app_arg" | grep --extended-regexp --quiet "https?:\/\/"
|
if echo "$app_arg" | grep --extended-regexp --quiet "https?:\/\/"
|
||||||
then
|
then
|
||||||
# If the app have been picked from github, check if this app was under the YunoHost-Apps organisation
|
# If the app have been picked from github, check if this app was under the YunoHost-Apps organisation
|
||||||
|
@ -683,11 +684,12 @@ TEST_RESULTS () {
|
||||||
YEP17_labriqueinternet=$(echo "$app_arg" | grep --ignore-case --count "github.com/labriqueinternet/")
|
YEP17_labriqueinternet=$(echo "$app_arg" | grep --ignore-case --count "github.com/labriqueinternet/")
|
||||||
if [ $YEP17 -ne 1 ] && [ $YEP17_labriqueinternet -ne 1 ]; then
|
if [ $YEP17 -ne 1 ] && [ $YEP17_labriqueinternet -ne 1 ]; then
|
||||||
ECHO_FORMAT "This app doesn't respect the YEP 1.7 ! (https://yunohost.org/#/packaging_apps_guidelines_fr)\n" "red"
|
ECHO_FORMAT "This app doesn't respect the YEP 1.7 ! (https://yunohost.org/#/packaging_apps_guidelines_fr)\n" "red"
|
||||||
|
YEP17_failed=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Validated if YEP 1.7 respected
|
# Validated if YEP 1.7 respected
|
||||||
if [ $YEP17 -ne 0 ] && [ $YEP17_labriqueinternet -ne 0 ]
|
if [ $YEP17_failed -eq 0 ]
|
||||||
then level[6]=2
|
then level[6]=2
|
||||||
else level[6]=0
|
else level[6]=0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue