aboutsummaryrefslogtreecommitdiffstats
path: root/main/zsh/zsh.post-upgrade
diff options
context:
space:
mode:
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