diff options
Diffstat (limited to 'data/modmyifone')
-rwxr-xr-x | data/modmyifone/_metadata/extrainst_ | 4 | ||||
-rwxr-xr-x | data/modmyifone/_metadata/postinst | 2 | ||||
-rwxr-xr-x | data/modmyifone/_metadata/prerm | 8 | ||||
-rw-r--r-- | data/modmyifone/_metadata/replaces | 1 | ||||
-rw-r--r-- | data/modmyifone/apt.modmyi.com.png | bin | 0 -> 5186 bytes | |||
-rw-r--r-- | data/modmyifone/make.sh | 2 |
6 files changed, 10 insertions, 7 deletions
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) diff --git a/data/modmyifone/apt.modmyi.com.png b/data/modmyifone/apt.modmyi.com.png Binary files differnew file mode 100644 index 000000000..18885ea9a --- /dev/null +++ b/data/modmyifone/apt.modmyi.com.png diff --git a/data/modmyifone/make.sh b/data/modmyifone/make.sh index 3020a14d0..a0b92b24b 100644 --- a/data/modmyifone/make.sh +++ b/data/modmyifone/make.sh @@ -2,3 +2,5 @@ pkg: mkdir -p /etc/apt/sources.list.d pkg: cp -a %/modmyi.com.list /etc/apt/sources.list.d pkg: mkdir -p /usr/share/keyrings pkg: cp -a %/186902.txt /usr/share/keyrings/modmyi.com-keyring.gpg +pkg: mkdir -p /Applications/Cydia.app/Sources +pkg: cp -a %/apt.modmyi.com.png /Applications/Cydia.app/Sources/apt.modmyi.com.png |