summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 6d8c6f8..0a86a2b 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9470,8 +9470,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
for (Package *package in packages) {
if ([package half])
[broken_ addObject:package];
- if ([package upgradableAndEssential:NO] && ![package ignored]) {
- if ([package essential])
+ if ([package upgradableAndEssential:YES] && ![package ignored]) {
+ if ([package essential] && [package installed] != nil)
[essential_ addObject:package];
++changes;
}