]> git.saurik.com Git - cydia.git/commitdiff
Absolutely demand that cydia.list is a symlink :/.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 3 Jul 2015 20:38:31 +0000 (13:38 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 3 Jul 2015 20:38:31 +0000 (13:38 -0700)
MobileCydia.mm

index 33f32080baa590ea291e9b22c3b7b2f70b0f242a..bd5ef5979615d3413479e7b5156ed87e541223e3 100644 (file)
@@ -10371,6 +10371,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));