From: Jay Freeman (saurik) Date: Tue, 22 Feb 2011 11:36:04 +0000 (-0800) Subject: Remove seemingly incorrect special case for /var/lib/dpkg/lock. X-Git-Tag: v1.1.0%b1~262 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/37bf1e1b561db6212479a68988b969836501322d Remove seemingly incorrect special case for /var/lib/dpkg/lock. --- 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]];