diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-20 03:59:02 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-20 03:59:02 -0700 |
commit | 8d7f5af91ae603ddfbddc0f926eed23cee2c1024 (patch) | |
tree | e78765a603a159b55c78c324b19abf42b773ae99 /postinst.mm | |
parent | 407564b5683493323368fbbb22850d67b47e4743 (diff) |
Remove setCydiaSource().
Diffstat (limited to 'postinst.mm')
-rw-r--r-- | postinst.mm | 5 |
1 files changed, 0 insertions, 5 deletions
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<NSMutableDictionary> Sources_; -_H<NSString> CydiaSource_; bool Changed_; _H<NSString> 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]; |