summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-07-10 05:30:29 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-07-10 05:30:29 -0700
commit19cd1e0dd593ae7738eda5f6a3ba90cea4524e2a (patch)
treebdc176303f114ca448fd228bdd6a4fb930f337fe
parent57cc2170d119bec4eefdcfaabeb47839e44f5856 (diff)
I am too tired to figure out why that didn't work.v1.1.22
-rw-r--r--MobileCydia.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index c6b8204..8038ce5 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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));