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 + 4 files changed, 8 insertions(+), 7 deletions(-) create mode 100755 data/modmyifone/_metadata/extrainst_ delete mode 100755 data/modmyifone/_metadata/postinst create mode 100644 data/modmyifone/_metadata/replaces (limited to 'data/modmyifone/_metadata') 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) -- cgit v1.2.3