From 4f3d268e0473f9bc0d5973148360707ed12ece42 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Tue, 5 May 2009 05:42:01 +0000 Subject: Upgrading default repository packages to normal structure. git-svn-id: http://svn.telesphoreo.org/trunk@607 514c082c-b64e-11dc-b46d-3d985efe055d --- data/modmyifone/_metadata/extrainst_ | 4 ++++ data/modmyifone/_metadata/postinst | 2 -- data/modmyifone/_metadata/prerm | 8 +++----- data/modmyifone/_metadata/replaces | 1 + data/modmyifone/apt.modmyi.com.png | Bin 0 -> 5186 bytes data/modmyifone/make.sh | 2 ++ 6 files changed, 10 insertions(+), 7 deletions(-) create mode 100755 data/modmyifone/_metadata/extrainst_ delete mode 100755 data/modmyifone/_metadata/postinst create mode 100644 data/modmyifone/_metadata/replaces create mode 100644 data/modmyifone/apt.modmyi.com.png (limited to 'data/modmyifone') 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 new file mode 100644 index 000000000..18885ea9a Binary files /dev/null and b/data/modmyifone/apt.modmyi.com.png differ 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 -- cgit v1.2.3