mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Merge pull request #5 from maniackcrudelis/patch-5
Exception auto mal placé
This commit is contained in:
commit
335f256bec
1 changed files with 3 additions and 0 deletions
|
@ -286,6 +286,9 @@ APP_LEVEL () {
|
||||||
|
|
||||||
# Calcule le niveau final
|
# Calcule le niveau final
|
||||||
for i in {1..10}; do
|
for i in {1..10}; do
|
||||||
|
if [ "${level[i]}" == "auto" ]; then
|
||||||
|
level[i]=0 # Si des levels sont encore à auto, c'est une erreur de syntaxe dans le check_process, ils sont fixé à 0.
|
||||||
|
fi
|
||||||
if [ "${level[i]}" -ge 1 ]; then level=$i
|
if [ "${level[i]}" -ge 1 ]; then level=$i
|
||||||
elif [ $i -ne 4 ]; then break; fi
|
elif [ $i -ne 4 ]; then break; fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue