summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 73d8448..607cfcb 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -8910,6 +8910,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
- (void) syncData {
+ [self _saveConfig];
+
FILE *file(fopen("/etc/apt/sources.list.d/cydia.list", "w"));
_assert(file != NULL);
@@ -8925,8 +8927,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
fclose(file);
- [self _saveConfig];
-
ProgressController *progress = [[[ProgressController alloc] initWithDatabase:database_ delegate:self] autorelease];
CYNavigationController *navigation = [[[CYNavigationController alloc] initWithRootViewController:progress] autorelease];
if (IsWildcat_)