From 8d7f5af91ae603ddfbddc0f926eed23cee2c1024 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 20 Mar 2011 03:59:02 -0700 Subject: Remove setCydiaSource(). --- postinst.mm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'postinst.mm') diff --git a/postinst.mm b/postinst.mm index b11a9ac..70a87f1 100644 --- a/postinst.mm +++ b/postinst.mm @@ -8,7 +8,6 @@ #include "CyteKit/PerlCompatibleRegEx.hpp" _H Sources_; -_H CydiaSource_; bool Changed_; _H System_; @@ -30,15 +29,11 @@ int main(int argc, const char *argv[]) { if (metadata != nil) { Sources_ = [metadata objectForKey:@"Sources"]; - CydiaSource_ = [metadata objectForKey:@"CydiaSource"]; if (NSNumber *number = [metadata objectForKey:@"Version"]) version = [number unsignedIntValue]; } - if (CydiaSource_ == nil) - CydiaSource_ = @"apt.saurik.com"; - if (Sources_ == nil) Sources_ = [NSMutableDictionary dictionaryWithCapacity:8]; -- cgit v1.2.3