diff options
author | Jay Freeman <saurik@saurik.com> | 2009-05-05 05:42:01 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-05-05 05:42:01 +0000 |
commit | 4f3d268e0473f9bc0d5973148360707ed12ece42 (patch) | |
tree | 42e1393c5fab7a8711d3b3c9ba59136e3bda2193 /data/modmyifone | |
parent | 0ab69dd9f7b48237939e03b775fb7b41d3b2438d (diff) |
Upgrading default repository packages to normal structure.
git-svn-id: http://svn.telesphoreo.org/trunk@607 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/modmyifone')
-rwxr-xr-x | data/modmyifone/_metadata/extrainst_ | 4 | ||||
-rwxr-xr-x | data/modmyifone/_metadata/postinst | 2 | ||||
-rwxr-xr-x | data/modmyifone/_metadata/prerm | 8 | ||||
-rw-r--r-- | data/modmyifone/_metadata/replaces | 1 | ||||
-rw-r--r-- | data/modmyifone/apt.modmyi.com.png | bin | 0 -> 5186 bytes | |||
-rw-r--r-- | data/modmyifone/make.sh | 2 |
6 files changed, 10 insertions, 7 deletions
diff --git a/data/modmyifone/_metadata/extrainst_ b/data/modmyifone/_metadata/extrainst_ new file mode 100755 index 000000000..39f732d11 --- /dev/null +++ b/data/modmyifone/_metadata/extrainst_ @@ -0,0 +1,4 @@ +#!/bin/sh +if [[ $1 == install || $1 == upgrade ]]; then + /usr/bin/apt-key add /usr/share/keyrings/modmyi.com-keyring.gpg +fi diff --git a/data/modmyifone/_metadata/postinst b/data/modmyifone/_metadata/postinst deleted file mode 100755 index a48c8e377..000000000 --- a/data/modmyifone/_metadata/postinst +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -/usr/bin/apt-key add /usr/share/keyrings/modmyi.com-keyring.gpg diff --git a/data/modmyifone/_metadata/prerm b/data/modmyifone/_metadata/prerm index ef61bd3d3..664140102 100755 --- a/data/modmyifone/_metadata/prerm +++ b/data/modmyifone/_metadata/prerm @@ -1,6 +1,4 @@ #!/bin/sh -case "$1" in - (remove|purge) - /usr/bin/apt-key del 6197E890 - ;; -esac +if [[ $1 == remove ]]; then + /usr/bin/apt-key del 6197E890 +fi diff --git a/data/modmyifone/_metadata/replaces b/data/modmyifone/_metadata/replaces new file mode 100644 index 000000000..2e46ddf54 --- /dev/null +++ b/data/modmyifone/_metadata/replaces @@ -0,0 +1 @@ +cydia (<< 1.0.2908-52) diff --git a/data/modmyifone/apt.modmyi.com.png b/data/modmyifone/apt.modmyi.com.png Binary files differnew file mode 100644 index 000000000..18885ea9a --- /dev/null +++ b/data/modmyifone/apt.modmyi.com.png diff --git a/data/modmyifone/make.sh b/data/modmyifone/make.sh index 3020a14d0..a0b92b24b 100644 --- a/data/modmyifone/make.sh +++ b/data/modmyifone/make.sh @@ -2,3 +2,5 @@ pkg: mkdir -p /etc/apt/sources.list.d pkg: cp -a %/modmyi.com.list /etc/apt/sources.list.d pkg: mkdir -p /usr/share/keyrings pkg: cp -a %/186902.txt /usr/share/keyrings/modmyi.com-keyring.gpg +pkg: mkdir -p /Applications/Cydia.app/Sources +pkg: cp -a %/apt.modmyi.com.png /Applications/Cydia.app/Sources/apt.modmyi.com.png |