mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Quelques modifications
Correction pour le niveau 1, c'est une erreur du côté du testing_process avec le test NO_URL (Je teste sur minidlna). Il ne changeait pas la bonne variable. Les variables GLOBAL_CHECK_SETUP et GLOBAL_CHECK_REMOVE sont un vrai casse tête !
This commit is contained in:
parent
83fa6efcd6
commit
e8de4f5b57
1 changed files with 3 additions and 2 deletions
|
@ -306,7 +306,7 @@ CHECK_SETUP_NO_URL () {
|
|||
note=$((note+1))
|
||||
fi
|
||||
GLOBAL_CHECK_SETUP=1 # Installation réussie
|
||||
GLOBAL_CHECK_SUB_DIR=1
|
||||
GLOBAL_CHECK_ROOT=1
|
||||
else
|
||||
ECHO_FORMAT "--- FAIL ---\n" "lred" "bold"
|
||||
if [ "$GLOBAL_CHECK_SETUP" -ne 1 ]; then
|
||||
|
@ -327,7 +327,8 @@ CHECK_SETUP_NO_URL () {
|
|||
if [ "$GLOBAL_CHECK_REMOVE_ROOT" -eq 0 ]; then
|
||||
note=$((note+1))
|
||||
fi
|
||||
GLOBAL_CHECK_REMOVE_ROOT=1 # Suppression réussie
|
||||
GLOBAL_CHECK_REMOVE=1 # Suppression réussie
|
||||
GLOBAL_CHECK_REMOVE_ROOT=1
|
||||
else
|
||||
ECHO_FORMAT "--- FAIL ---\n" "lred" "bold"
|
||||
if [ "$GLOBAL_CHECK_REMOVE" -ne 1 ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue