summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-03-02 11:22:54 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2008-03-02 11:22:54 +0000
commit26c2dd8c9d6f5addd6140e6a16d5499d8273f3c1 (patch)
tree48cdff9d5b324a7ccffd81ce52897df344ee52e0 /Cydia.mm
parentfda0e863fd40edba13706020957933243c6e59f1 (diff)
Speed up the launch some.
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Cydia.mm b/Cydia.mm
index d989109..5d737f8 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -3724,7 +3724,8 @@ int main(int argc, char *argv[]) {
Packages_ = [Metadata_ objectForKey:@"Packages"];
setenv("CYDIA", "", _not(int));
- system("/usr/libexec/cydia/firmware.sh");
+ if (access("/User", F_OK) != 0)
+ system("/usr/libexec/cydia/firmware.sh");
system("dpkg --configure -a");
UIApplicationMain(argc, argv, [Cydia class]);