diff options
Diffstat (limited to 'Sources.mm')
-rw-r--r-- | Sources.mm | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -29,6 +29,8 @@ extern _H<NSMutableDictionary> Sources_; extern bool Changed_; void CydiaWriteSources() { + seteuid(0); + FILE *file(fopen("/etc/apt/sources.list.d/cydia.list", "w")); _assert(file != NULL); @@ -49,6 +51,8 @@ void CydiaWriteSources() { } fclose(file); + + seteuid(501); } void CydiaAddSource(NSDictionary *source) { |