]> git.saurik.com Git - cydia.git/commitdiff
Remove seemingly incorrect special case for /var/lib/dpkg/lock.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 22 Feb 2011 11:36:04 +0000 (03:36 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 22 Feb 2011 11:36:04 +0000 (03:36 -0800)
MobileCydia.mm

index 888c43eb648be458022853d47cbd0080467cc237..ffa30cb83fb816c5fbfa4f2af6e970cb2ef70055 100644 (file)
@@ -3467,8 +3467,7 @@ static NSString *Warning_;
         else if (error == "The package lists or status file could not be parsed or opened.")
             [delegate_ repairWithSelector:@selector(update)];
         // else if (error == "Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)")
-        else if (error == "Could not get lock /var/lib/dpkg/lock - open (35 Resource temporarily unavailable)")
-            [delegate_ _setProgressError:[NSString stringWithUTF8String:error.c_str()] withTitle:[NSString stringWithFormat:Colon_, Error_, title]];
+        // else if (error == "Could not get lock /var/lib/dpkg/lock - open (35 Resource temporarily unavailable)")
         // else if (error == "The list of sources could not be read.")
         else {
             [delegate_ _setProgressError:[NSString stringWithUTF8String:error.c_str()] withTitle:[NSString stringWithFormat:Colon_, warning ? Warning_ : Error_, title]];