#include "Sources.h"
extern _H<NSMutableDictionary> Sources_;
-extern bool Changed_;
void CydiaWriteSources() {
+ unlink(SOURCES_LIST);
FILE *file(fopen(SOURCES_LIST, "w"));
_assert(file != NULL);
void CydiaAddSource(NSDictionary *source) {
[Sources_ setObject:source forKey:[NSString stringWithFormat:@"%@:%@:%@", [source objectForKey:@"Type"], [source objectForKey:@"URI"], [source objectForKey:@"Distribution"]]];
- Changed_ = true;
}
void CydiaAddSource(NSString *href, NSString *distribution, NSArray *sections) {