summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-07-03 13:38:31 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-07-03 13:38:31 -0700
commit431f9a778ea796974558da852e1d89ea602fa468 (patch)
treecd3cfad259c9fc446553d304c9e7736ce423f4a2 /MobileCydia.mm
parentcf769c11b99abf71df6bf9528c8bf9956c7e18e0 (diff)
Absolutely demand that cydia.list is a symlink :/.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 33f3208..bd5ef59 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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));