summaryrefslogtreecommitdiff
path: root/data/zodttd/_metadata
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-08-15 08:55:49 +0000
committerJay Freeman <saurik@saurik.com>2009-08-15 08:55:49 +0000
commit0fc6e098c25bab23d613247bfdec4bbb9f3da824 (patch)
tree68e44aad301510b43f60d3bf1d66c02fd29b1c89 /data/zodttd/_metadata
parent941b171aa5289e307200390a7810ef79f7145c00 (diff)
Various things I forgot to commit.
git-svn-id: http://svn.telesphoreo.org/trunk@670 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/zodttd/_metadata')
-rwxr-xr-xdata/zodttd/_metadata/extrainst_4
-rwxr-xr-xdata/zodttd/_metadata/postinst2
-rwxr-xr-xdata/zodttd/_metadata/prerm8
3 files changed, 7 insertions, 7 deletions
diff --git a/data/zodttd/_metadata/extrainst_ b/data/zodttd/_metadata/extrainst_
new file mode 100755
index 000000000..77895813b
--- /dev/null
+++ b/data/zodttd/_metadata/extrainst_
@@ -0,0 +1,4 @@
+#!/bin/sh
+if [[ $1 == install || $1 == upgrade ]]; then
+ /usr/bin/apt-key add /usr/share/keyrings/zodttd-keyring.gpg
+fi
diff --git a/data/zodttd/_metadata/postinst b/data/zodttd/_metadata/postinst
deleted file mode 100755
index 188547456..000000000
--- a/data/zodttd/_metadata/postinst
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-/usr/bin/apt-key add /usr/share/keyrings/zodttd-keyring.gpg
diff --git a/data/zodttd/_metadata/prerm b/data/zodttd/_metadata/prerm
index 4a327b794..7394703ad 100755
--- a/data/zodttd/_metadata/prerm
+++ b/data/zodttd/_metadata/prerm
@@ -1,6 +1,4 @@
#!/bin/sh
-case "$1" in
- (remove|purge)
- /usr/bin/apt-key del 718BABDF
- ;;
-esac
+if [[ $1 == remove ]]; then
+ /usr/bin/apt-key del 718BABDF
+fi