summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-22 03:36:04 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-22 03:36:04 -0800
commit37bf1e1b561db6212479a68988b969836501322d (patch)
tree00816613bb53c2d60edc32d1064a4d9cc5a12c2c
parentc81d818af66c2c30f1d4a7baaa1f1e0cf231f258 (diff)
Remove seemingly incorrect special case for /var/lib/dpkg/lock.
-rw-r--r--MobileCydia.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 888c43e..ffa30cb 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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]];