]> git.saurik.com Git - cydia.git/commitdiff
I am too tired to figure out why that didn't work. v1.1.22
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 10 Jul 2015 12:30:29 +0000 (05:30 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 10 Jul 2015 12:30:29 +0000 (05:30 -0700)
MobileCydia.mm

index c6b82040d839d0e363a6b993a215a2b8a4e20fcc..8038ce55bfebf7af6288ad9eb3cb4e87b4d71e58 100644 (file)
@@ -3760,6 +3760,10 @@ class CydiaLogCleaner :
 }
 
 - (bool) popErrorWithTitle:(NSString *)title forReadList:(pkgSourceList &)list {
+    if ([self popErrorWithTitle:title forOperation:list.ReadMainList()])
+        return true;
+    return false;
+
     list.Reset();
 
     bool error(false);
@@ -10415,6 +10419,8 @@ int main(int argc, char *argv[]) {
             _assert(errno == ENOENT);
     }
 
+    system("/usr/libexec/cydia/cydo /bin/ln -sf /var/mobile/Library/Caches/com.saurik.Cydia/sources.list /etc/apt/sources.list.d/cydia.list");
+
     /* APT Initialization {{{ */
     _assert(pkgInitConfig(*_config));
     _assert(pkgInitSystem(*_config, _system));