From 37bf1e1b561db6212479a68988b969836501322d Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 22 Feb 2011 03:36:04 -0800 Subject: [PATCH] Remove seemingly incorrect special case for /var/lib/dpkg/lock. --- MobileCydia.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 888c43eb..ffa30cb8 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]]; -- 2.50.0