summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-07-02 03:28:10 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-07-02 03:28:10 -0700
commitf6b68b2c49618bf8df27e993bc3df42e913180db (patch)
treec2fcefbac9ab3d7b1f763c1bee1a1c89713b338c /MobileCydia.mm
parent7bc0d82556d4169b4b2221a0373ca2262abebcc8 (diff)
Use a private (owned by mobile!) APT sources.list.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 4 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 0ae9485..a97fb96 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3773,6 +3773,8 @@ class CydiaLogCleaner :
- (bool) popErrorWithTitle:(NSString *)title forReadList:(pkgSourceList &)list {
if ([self popErrorWithTitle:title forOperation:list.ReadMainList()])
return true;
+ if ([self popErrorWithTitle:title forOperation:list.Read(SOURCES_LIST)])
+ return true;
return false;
}
@@ -9064,7 +9066,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
}
}
- _root(CydiaWriteSources());
+ CydiaWriteSources();
}
// Navigation controller for the queuing badge.
@@ -10454,7 +10456,7 @@ int main(int argc, char *argv[]) {
} broken = nil;
/* }}} */
- _root(CydiaWriteSources());
+ CydiaWriteSources();
_trace();
mkdir("/var/mobile/Library/Cydia", 0755);