summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-24 11:16:43 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:17 -0800
commita4d8c84e1230082bae2d206a88742b724287dea9 (patch)
treec35abad204745447a2b0c0cea0f3c92fb4b8d615
parentb170ac35e2fb899aba2ed230f9d8775735e62eae (diff)
Update firmware.ver to 4.
-rwxr-xr-xLibrary/firmware.sh2
-rw-r--r--MobileCydia.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/firmware.sh b/Library/firmware.sh
index 3628e5b..4f41bfd 100755
--- a/Library/firmware.sh
+++ b/Library/firmware.sh
@@ -139,5 +139,5 @@ if [[ ${cpu} == arm ]]; then
cp -afT /User /var/mobile
fi && rm -rf /User && ln -s "/var/mobile" /User
- echo 3 >/var/lib/cydia/firmware.ver
+ echo 4 >/var/lib/cydia/firmware.ver
fi
diff --git a/MobileCydia.mm b/MobileCydia.mm
index d60ef0a..6b07c10 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -10101,7 +10101,7 @@ int main(int argc, char *argv[]) { _pooled
if (access("/tmp/.cydia.fw", F_OK) == 0) {
unlink("/tmp/.cydia.fw");
goto firmware;
- } else if (access("/User", F_OK) != 0 || version < 2) {
+ } else if (access("/User", F_OK) != 0 || version < 4) {
firmware:
_trace();
system("/usr/libexec/cydia/firmware.sh");