diff options
Diffstat (limited to 'data/modmyifone/_metadata')
-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 |
4 files changed, 8 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) |