From c84057bb1338d6c975e9714772dce288e4345310 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Mon, 11 Aug 2008 11:03:20 +0000 Subject: Upgraded to the latest Cydia. git-svn-id: http://svn.telesphoreo.org/trunk@422 514c082c-b64e-11dc-b46d-3d985efe055d --- data/cydia/_metadata/postinst | 6 ------ data/cydia/_metadata/preinst | 16 ++++++++++++++++ data/cydia/_metadata/version | 2 +- data/cydia/alert | Bin 29572 -> 0 bytes data/cydia/cydia-1.0.2496.tgz | Bin 225878 -> 0 bytes data/cydia/cydia-1.0.2517.tgz | Bin 0 -> 231523 bytes data/cydia/make.sh | 3 --- data/cydia/sponsor.diff | 12 ++++++++++++ 8 files changed, 29 insertions(+), 10 deletions(-) delete mode 100755 data/cydia/_metadata/postinst create mode 100755 data/cydia/_metadata/preinst delete mode 100755 data/cydia/alert delete mode 100644 data/cydia/cydia-1.0.2496.tgz create mode 100644 data/cydia/cydia-1.0.2517.tgz create mode 100644 data/cydia/sponsor.diff (limited to 'data') diff --git a/data/cydia/_metadata/postinst b/data/cydia/_metadata/postinst deleted file mode 100755 index 2805ae9ba..000000000 --- a/data/cydia/_metadata/postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -if [[ ${CYDIA+@} ]]; then - echo 'PLEASE RESTART CYDIA AFTER INSTALL!' - echo 'PLEASE RESTART CYDIA AFTER INSTALL!' - echo 'PLEASE RESTART CYDIA AFTER INSTALL!' -fi diff --git a/data/cydia/_metadata/preinst b/data/cydia/_metadata/preinst new file mode 100755 index 000000000..2c836cd4d --- /dev/null +++ b/data/cydia/_metadata/preinst @@ -0,0 +1,16 @@ +#!/bin/bash + +declare -a cydia +cydia=($CYDIA) + +if [[ $1 == install || $1 == upgrade ]]; then + if [[ ${CYDIA+@} ]]; then + if [[ ${cydia[1]} -lt 1 ]]; then + echo 'PLEASE RESTART CYDIA!' + echo 'PLEASE RESTART CYDIA!' + echo 'PLEASE RESTART CYDIA!' + else + eval "echo 'finish:reopen' >&${cydia[0]}" + fi + fi +fi diff --git a/data/cydia/_metadata/version b/data/cydia/_metadata/version index 818fb9ac2..2e3176a65 100644 --- a/data/cydia/_metadata/version +++ b/data/cydia/_metadata/version @@ -1 +1 @@ -1.0.2496 +1.0.2517 diff --git a/data/cydia/alert b/data/cydia/alert deleted file mode 100755 index 3a65e2580..000000000 Binary files a/data/cydia/alert and /dev/null differ diff --git a/data/cydia/cydia-1.0.2496.tgz b/data/cydia/cydia-1.0.2496.tgz deleted file mode 100644 index 3f65bb137..000000000 Binary files a/data/cydia/cydia-1.0.2496.tgz and /dev/null differ diff --git a/data/cydia/cydia-1.0.2517.tgz b/data/cydia/cydia-1.0.2517.tgz new file mode 100644 index 000000000..a7e836d2d Binary files /dev/null and b/data/cydia/cydia-1.0.2517.tgz differ diff --git a/data/cydia/make.sh b/data/cydia/make.sh index f722aef0f..8353369ee 100644 --- a/data/cydia/make.sh +++ b/data/cydia/make.sh @@ -5,7 +5,6 @@ make pkg: mkdir -p /usr/libexec /var/lib/cydia pkg: cp -a Library /usr/libexec/cydia pkg: cp -a exec /usr/libexec/cydia -pkg: cp -a %/alert /usr/libexec/cydia pkg: mkdir -p /System/Library pkg: cp -a LaunchDaemons /System/Library @@ -15,7 +14,5 @@ pkg: cp -a Cydia.app /Applications pkg: cp -a Cydia /Applications/Cydia.app/Cydia_ pkg: chmod +s /Applications/Cydia.app/Cydia_ -pkg: mv /Applications/Cydia.app/Sources/iphonehe.{,com.png} - pkg: mkdir -p /System/Library/PreferenceBundles pkg: cp -a CydiaSettings.bundle /System/Library/PreferenceBundles diff --git a/data/cydia/sponsor.diff b/data/cydia/sponsor.diff new file mode 100644 index 000000000..a46d3f58c --- /dev/null +++ b/data/cydia/sponsor.diff @@ -0,0 +1,12 @@ +diff -ru cydia-1.0.2517/cydia/Cydia.app/package.js cydia-1.0.2517+iPhone/cydia/Cydia.app/package.js +--- cydia-1.0.2517/cydia/Cydia.app/package.js 2008-08-10 13:14:08.000000000 +0000 ++++ cydia-1.0.2517+iPhone/cydia/Cydia.app/package.js 2008-08-10 13:34:05.000000000 +0000 +@@ -79,7 +79,7 @@ + $("#maintainer-link").href("mailto:" + maintainer.address + "?subject=" + regarding); + } + +- var sponsor = package.maintainer; ++ var sponsor = package.sponsor; + if (sponsor == null) + $(".sponsor").remove(); + else { -- cgit v1.2.3