diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-09-18 01:55:19 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-09-18 01:57:03 +0200 |
commit | 3ca28703d16140a9e7241e20516e317f7a72993d (patch) | |
tree | d9f48025a9600cf47f58650d13cf54e8bc9efc0b /main/zsh/zsh.post-upgrade | |
parent | 72696bba828e30c8558c498211c416770097d39f (diff) | |
download | aports-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-upgrade | 21 |
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 |