]> git.saurik.com Git - cydia.git/blobdiff - MobileCydia.mm
Migrate the user's legacy APT lists to new Caches.
[cydia.git] / MobileCydia.mm
index b752ecc26a5c03e43ed2d2d89ffa88ca16f4bba5..ac7f0b9a50a02479ac01d438d4f60c84a84ab046 100644 (file)
@@ -9056,7 +9056,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
         if (NSData *data = [NSPropertyListSerialization dataFromPropertyList:Metadata_ format:NSPropertyListBinaryFormat_v1_0 errorDescription:&error]) {
             _trace();
             NSError *error(nil);
         if (NSData *data = [NSPropertyListSerialization dataFromPropertyList:Metadata_ format:NSPropertyListBinaryFormat_v1_0 errorDescription:&error]) {
             _trace();
             NSError *error(nil);
-            if (!_root([data writeToFile:@"/var/lib/cydia/metadata.plist" options:NSAtomicWrite error:&error]));
+            if (!_root([data writeToFile:@"/var/lib/cydia/metadata.plist" options:NSAtomicWrite error:&error]))
                 NSLog(@"failure to save metadata data: %@", error);
             _trace();
 
                 NSLog(@"failure to save metadata data: %@", error);
             _trace();
 
@@ -9168,6 +9168,7 @@ _profile(reloadDataWithInvocation)
         [self setApplicationIconBadgeNumber:0];
     }
 
         [self setApplicationIconBadgeNumber:0];
     }
 
+    Queuing_ = false;
     [self _updateData];
 
     if (hud != nil)
     [self _updateData];
 
     if (hud != nil)