aboutsummaryrefslogtreecommitdiffstats
path: root/main/zsh/zsh.post-upgrade
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-09-18 01:55:19 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-09-18 01:57:03 +0200
commit3ca28703d16140a9e7241e20516e317f7a72993d (patch)
treed9f48025a9600cf47f58650d13cf54e8bc9efc0b /main/zsh/zsh.post-upgrade
parent72696bba828e30c8558c498211c416770097d39f (diff)
downloadaports-3ca28703d16140a9e7241e20516e317f7a72993d.tar.bz2
aports-3ca28703d16140a9e7241e20516e317f7a72993d.tar.xz
main/zsh: add subpackages -calendar, -completion, -vcs, -zftp
Diffstat (limited to 'main/zsh/zsh.post-upgrade')
-rw-r--r--[l---------]main/zsh/zsh.post-upgrade21
1 files changed, 20 insertions, 1 deletions
diff --git a/main/zsh/zsh.post-upgrade b/main/zsh/zsh.post-upgrade
index fe3999fdbc..ebc666054a 120000..100644
--- a/main/zsh/zsh.post-upgrade
+++ b/main/zsh/zsh.post-upgrade
@@ -1 +1,20 @@
-zsh.post-install \ No newline at end of file
+#!/bin/sh
+
+add-shell '/bin/zsh'
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" "5.2-r2")" = "<" ]; then
+ cat <<-EOF
+ *
+ * Some modules has been moved into subpackages:
+ * zsh-calendar calendar function system
+ * zsh-completion completion functions
+ * zsh-vcs version control information (vcs_info)
+ * zsh-zftp zftp function system
+ *
+ EOF
+fi
+
+exit 0