summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rwxr-xr-xdata/cydia/_metadata/postinst6
-rwxr-xr-xdata/cydia/_metadata/preinst16
-rw-r--r--data/cydia/_metadata/version2
-rwxr-xr-xdata/cydia/alertbin29572 -> 0 bytes
-rw-r--r--data/cydia/cydia-1.0.2496.tgzbin225878 -> 0 bytes
-rw-r--r--data/cydia/cydia-1.0.2517.tgzbin0 -> 231523 bytes
-rw-r--r--data/cydia/make.sh3
-rw-r--r--data/cydia/sponsor.diff12
8 files changed, 29 insertions, 10 deletions
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
--- a/data/cydia/alert
+++ /dev/null
Binary files 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
--- a/data/cydia/cydia-1.0.2496.tgz
+++ /dev/null
Binary files 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
--- /dev/null
+++ b/data/cydia/cydia-1.0.2517.tgz
Binary files 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 {