]> git.saurik.com Git - cydia.git/blobdiff - postinst.mm
This isn't strictly neccessary, but let's be safe.
[cydia.git] / postinst.mm
index b11a9aca80268cfeab222bf2abe32ad28283ce8c..70a87f1a84c75222d040cc85494f1247044e8fcf 100644 (file)
@@ -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];