aboutsummaryrefslogtreecommitdiffstats
path: root/community/roundcubemail/roundcubemail.post-install
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-26 23:22:23 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-27 15:30:37 +0200
commit2e608a2da1cefbd866be11721be3da4d0a863efb (patch)
tree27db52d2387aee655061d0c2d0923f06226dc2cd /community/roundcubemail/roundcubemail.post-install
parentd825a8394c494b9768c60df29658ca82db674327 (diff)
downloadaports-2e608a2da1cefbd866be11721be3da4d0a863efb.tar.bz2
aports-2e608a2da1cefbd866be11721be3da4d0a863efb.tar.xz
community/roundcubemail: move plugins with extra deps to subpkgs
And fix their dependencies.
Diffstat (limited to 'community/roundcubemail/roundcubemail.post-install')
-rw-r--r--community/roundcubemail/roundcubemail.post-install14
1 files changed, 13 insertions, 1 deletions
diff --git a/community/roundcubemail/roundcubemail.post-install b/community/roundcubemail/roundcubemail.post-install
index f899f7e02d..1774e77a1a 100644
--- a/community/roundcubemail/roundcubemail.post-install
+++ b/community/roundcubemail/roundcubemail.post-install
@@ -16,12 +16,24 @@ if ! [ -e "$keyfile" ]; then
fi
if [ "${0##*.}" = 'post-upgrade' ]; then
+ ver_new="$1"
+ ver_old="$2"
+
cat >&2 <<-EOF
*
* Please read /usr/share/doc/roundcube/UPGRADE
* in roundcubemail-doc package for schema or config update
*
EOF
-fi
+ if [ "$(apk version -t "$ver_old" '1.3.6-r1')" = '<' ]; then
+ cat >&2 <<-EOF
+ *
+ * Roundcube plugins managesieve and zipdownload has been moved into
+ * subpackages. If you use them, install roundcubemail-<plugin> using apk
+ * (e.g. apk add roundcubemail-zipdownload).
+ *
+ EOF
+ fi
+fi
exit 0