summarylogtreecommitdiffstats
path: root/aws-cli-v2-bin.install
blob: 12d44b5609065b89aa339d5a3b2cc9cdd11172f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Contributor: Chih-Hsuan Yen <yan12125@archlinux.org> from aur/aws-cli-v2

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  if [ "$(vercmp $2 2.13.25)" -le 0 ]; then
    cat << EOF
===> zsh completions are no longer automatically enabled.
===> You can put the following line in a zsh startup script
===> or run it manually before using aws zsh completions.
===>     source /usr/bin/aws_zsh_completer.sh
EOF
  fi
}