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/ste/_metadata | |
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/ste/_metadata')
-rwxr-xr-x | data/ste/_metadata/extrainst_ | 4 | ||||
-rwxr-xr-x | data/ste/_metadata/postinst | 2 | ||||
-rwxr-xr-x | data/ste/_metadata/prerm | 8 | ||||
-rw-r--r-- | data/ste/_metadata/replaces | 1 |
4 files changed, 8 insertions, 7 deletions
diff --git a/data/ste/_metadata/extrainst_ b/data/ste/_metadata/extrainst_ new file mode 100755 index 000000000..eaede8332 --- /dev/null +++ b/data/ste/_metadata/extrainst_ @@ -0,0 +1,4 @@ +#!/bin/sh +if [[ $1 == install || $1 == upgrade ]]; then + /usr/bin/apt-key add /usr/share/keyrings/ste-keyring.gpg +fi diff --git a/data/ste/_metadata/postinst b/data/ste/_metadata/postinst deleted file mode 100755 index 73c703b4f..000000000 --- a/data/ste/_metadata/postinst +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -/usr/bin/apt-key add /usr/share/keyrings/ste-keyring.gpg diff --git a/data/ste/_metadata/prerm b/data/ste/_metadata/prerm index a8f9ccc8a..22c5758e4 100755 --- a/data/ste/_metadata/prerm +++ b/data/ste/_metadata/prerm @@ -1,6 +1,4 @@ #!/bin/sh -case "$1" in - (remove|purge) - /usr/bin/apt-key del 78A6D152 - ;; -esac +if [[ $1 == remove ]]; then + /usr/bin/apt-key del 78A6D152 +fi diff --git a/data/ste/_metadata/replaces b/data/ste/_metadata/replaces new file mode 100644 index 000000000..2e46ddf54 --- /dev/null +++ b/data/ste/_metadata/replaces @@ -0,0 +1 @@ +cydia (<< 1.0.2908-52) |