summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 8ec1244..3e13cbc 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3451,6 +3451,10 @@ class CydiaLogCleaner :
lprintf("%c:[%s]\n", warning ? 'W' : 'E', error.c_str());
+ static Pcre no_pubkey("^GPG error:.* NO_PUBKEY .*$");
+ if (warning && no_pubkey(error.c_str()))
+ continue;
+
[delegate_ addProgressEventOnMainThread:[CydiaProgressEvent eventWithMessage:[NSString stringWithUTF8String:error.c_str()] ofType:(warning ? kCydiaProgressEventTypeWarning : kCydiaProgressEventTypeError)] forTask:title];
}