make integritycheck in update-procedure more clear whether there actually is a problem or not (if it's been fixed for example), fixes #1493
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -59,12 +59,12 @@ if (isFroxlor()) {
|
|||||||
|
|
||||||
$integrity = new IntegrityCheck();
|
$integrity = new IntegrityCheck();
|
||||||
if (!$integrity->checkAll()) {
|
if (!$integrity->checkAll()) {
|
||||||
lastStepStatus(2, 'Monkeys ate the integrity');
|
lastStepStatus(1, 'Monkeys ate the integrity');
|
||||||
showUpdateStep("Trying to remove monkeys, feeding bananas");
|
showUpdateStep("Trying to remove monkeys, feeding bananas");
|
||||||
if(!$integrity->fixAll()) {
|
if(!$integrity->fixAll()) {
|
||||||
lastStepStatus(2, 'Some monkeys just would not move');
|
lastStepStatus(2, 'Some monkeys just would not move, you should contact team@froxlor.org');
|
||||||
} else {
|
} else {
|
||||||
lastStepStatus(0);
|
lastStepStatus(0, 'Integrity restored');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
lastStepStatus(0);
|
lastStepStatus(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user