summaryrefslogtreecommitdiff
path: root/data/ste/_metadata
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-05-05 05:42:01 +0000
committerJay Freeman <saurik@saurik.com>2009-05-05 05:42:01 +0000
commit4f3d268e0473f9bc0d5973148360707ed12ece42 (patch)
tree42e1393c5fab7a8711d3b3c9ba59136e3bda2193 /data/ste/_metadata
parent0ab69dd9f7b48237939e03b775fb7b41d3b2438d (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-xdata/ste/_metadata/extrainst_4
-rwxr-xr-xdata/ste/_metadata/postinst2
-rwxr-xr-xdata/ste/_metadata/prerm8
-rw-r--r--data/ste/_metadata/replaces1
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)