summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 1 insertions, 5 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index dd7b14a..f9e5bde 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -10362,11 +10362,7 @@ int main(int argc, char *argv[]) {
int version([[NSString stringWithContentsOfFile:@"/var/lib/cydia/firmware.ver"] intValue]);
- if (access("/tmp/.cydia.fw", F_OK) == 0) {
- unlink("/tmp/.cydia.fw");
- goto firmware;
- } else if (access("/User", F_OK) != 0 || version < 5) {
- firmware:
+ if (access("/User", F_OK) != 0 || version != 5) {
_trace();
system("/usr/libexec/cydia/firmware.sh");
_trace();