summaryrefslogtreecommitdiff
path: root/data/zodttd
diff options
context:
space:
mode:
Diffstat (limited to 'data/zodttd')
-rwxr-xr-xdata/zodttd/_metadata/extrainst_4
-rwxr-xr-xdata/zodttd/_metadata/postinst2
-rwxr-xr-xdata/zodttd/_metadata/prerm8
-rw-r--r--data/zodttd/make.sh2
-rw-r--r--data/zodttd/www.zodttd.com.pngbin0 -> 2482 bytes
-rw-r--r--data/zodttd/zodttd.list2
6 files changed, 10 insertions, 8 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
diff --git a/data/zodttd/make.sh b/data/zodttd/make.sh
index ce6b483a5..98c6ec454 100644
--- a/data/zodttd/make.sh
+++ b/data/zodttd/make.sh
@@ -2,3 +2,5 @@ pkg: mkdir -p /etc/apt/sources.list.d
pkg: cp -a %/zodttd.list /etc/apt/sources.list.d
pkg: mkdir -p /usr/share/keyrings
pkg: cp -a %/failkey.asc /usr/share/keyrings/zodttd-keyring.gpg
+pkg: mkdir -p /Applications/Cydia.app/Sources
+pkg: cp -a %/www.zodttd.com.png /Applications/Cydia.app/Sources/cydia.zodttd.com.png
diff --git a/data/zodttd/www.zodttd.com.png b/data/zodttd/www.zodttd.com.png
new file mode 100644
index 000000000..83a3b33bf
--- /dev/null
+++ b/data/zodttd/www.zodttd.com.png
Binary files differ
diff --git a/data/zodttd/zodttd.list b/data/zodttd/zodttd.list
index 6d65ac455..2b567fc6b 100644
--- a/data/zodttd/zodttd.list
+++ b/data/zodttd/zodttd.list
@@ -3,4 +3,4 @@
# either add your own .list file to /etc/apt/sources.list.d
# or add your entry to the global /etc/apt/sources.list file
-deb http://www.zodttd.com/repo/cydia/ stable main
+deb http://cydia.zodttd.com/repo/cydia/ stable main